aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cygw32.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/cygw32.h b/src/cygw32.h
index 4b87b92dd24..22b6f5692da 100644
--- a/src/cygw32.h
+++ b/src/cygw32.h
@@ -38,13 +38,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
38/* Access the wide-character string stored in a Lisp string object. */ 38/* Access the wide-character string stored in a Lisp string object. */
39#define WCSDATA(x) ((wchar_t *) SDATA (x)) 39#define WCSDATA(x) ((wchar_t *) SDATA (x))
40 40
41/* Convert the Emacs string in STR to UTF-16LE and store a new string 41/* Convert the multi-byte string in STR to UTF-16LE encoded unibyte
42 containing the encoded version of STR into *BUF. BUF may safely 42 string, and store it in *BUF. BUF may safely point to STR on entry. */
43 point to STR on entry. */
44extern wchar_t *to_unicode (Lisp_Object str, Lisp_Object *buf); 43extern wchar_t *to_unicode (Lisp_Object str, Lisp_Object *buf);
45 44
46/* Convert STR, a UTF-16LE encoded string embedded in an Emacs string 45/* Convert STR, a UTF-16LE encoded string embedded in a unibyte string
47 object, to a normal Emacs string and return it. */ 46 object, to a multi-byte Emacs string, and return it. */
48extern Lisp_Object from_unicode (Lisp_Object str); 47extern Lisp_Object from_unicode (Lisp_Object str);
49 48
50/* *** Path conversion. *** */ 49/* *** Path conversion. *** */