From ba11600816880f862a7a85899bfa3dc41c176273 Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Mon, 29 Oct 2012 09:24:29 -0800 Subject: 2012-10-29 Daniel Colascione cygw32.h, cygw32.c (Qutf_16le, from_unicode, to_unicode): In preparation for fixing bug#12739, move these functions from here... * coding.h, coding.c: ... to here, and compile them only when WINDOWSNT or HAVE_NTGUI. Moving these functions out of cygw32 proper lets us write cygw32-agnostic code for the HAVE_NTGUI case. --- src/cygw32.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/cygw32.h') diff --git a/src/cygw32.h b/src/cygw32.h index 78e77a9a141..51571913fd1 100644 --- a/src/cygw32.h +++ b/src/cygw32.h @@ -33,20 +33,6 @@ along with GNU Emacs. If not, see . */ #include "lisp.h" #include "coding.h" -/* *** Character conversion *** */ - -/* Access the wide-character string stored in a Lisp string object. */ -#define WCSDATA(x) ((wchar_t *) SDATA (x)) - -/* Convert the multi-byte string in STR to UTF-16LE encoded unibyte - string, and store it in *BUF. BUF may safely point to STR on entry. */ -extern wchar_t *to_unicode (Lisp_Object str, Lisp_Object *buf); - -/* Convert STR, a UTF-16LE encoded string embedded in a unibyte string - object, to a multi-byte Emacs string, and return it. */ -extern Lisp_Object from_unicode (Lisp_Object str); - -/* *** Misc *** */ extern void syms_of_cygw32 (void); extern char * w32_strerror (int error_no); -- cgit v1.2.1