comparison src/unicode.c @ 3025:facf3239ba30

[xemacs-hg @ 2005-10-25 11:16:19 by ben] rename new->new_, convert 'foo to `foo' EmacsFrame.c, ExternalClient.c, ExternalShell.c, chartab.c, cmdloop.c, compiler.h, console.c, database.c, device-msw.c, device-x.c, device.c, doc.c, dragdrop.c, eval.c, event-msw.c, event-stream.c, events.c, extents.c, file-coding.c, fns.c, frame-tty.c, frame.c, gpmevent.c, gutter.c, hash.c, imgproc.c, indent.c, keymap.c, lisp-union.h, macros.c, malloc.c, marker.c, menubar-x.c, menubar.c, mule-charset.c, number.c, process.c, profile.h, ralloc.c, redisplay.c, select-common.h, select.c, syntax.c, sysfile.h, sysproc.h, systime.h, syswindows.h, toolbar.c, tooltalk.c, tparam.c, unexaix.c, unexalpha.c, unexconvex.c, unexec.c, unexhp9k800.c, unexmips.c, unicode.c, window.c: new -> new_. 'foo -> `foo'. lwlib-internal.h: redo assert macros to follow lisp.h and not trigger warnings. lwlib.c, xlwtabs.c: new -> new_.
author ben
date Tue, 25 Oct 2005 11:16:49 +0000
parents b7f26b2f78bd
children 8dbdcd070418
comparison
equal deleted inserted replaced
3024:b7f26b2f78bd 3025:facf3239ba30
1 /* Code to handle Unicode conversion. 1 /* Code to handle Unicode conversion.
2 Copyright (C) 2000, 2001, 2002, 2003, 2004 Ben Wing. 2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Ben Wing.
3 3
4 This file is part of XEmacs. 4 This file is part of XEmacs.
5 5
6 XEmacs is free software; you can redistribute it and/or modify it 6 XEmacs is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the 7 under the terms of the GNU General Public License as published by the
1258 1258
1259 #endif /* MULE */ 1259 #endif /* MULE */
1260 1260
1261 DEFUN ("char-to-unicode", Fchar_to_unicode, 1, 1, 0, /* 1261 DEFUN ("char-to-unicode", Fchar_to_unicode, 1, 1, 0, /*
1262 Convert character to Unicode codepoint. 1262 Convert character to Unicode codepoint.
1263 When there is no international support (i.e. the 'mule feature is not 1263 When there is no international support (i.e. the `mule' feature is not
1264 present), this function simply does `char-to-int'. 1264 present), this function simply does `char-to-int'.
1265 */ 1265 */
1266 (character)) 1266 (character))
1267 { 1267 {
1268 CHECK_CHAR (character); 1268 CHECK_CHAR (character);
1279 If CHARSETS is given, it should be a list of charsets, and only those 1279 If CHARSETS is given, it should be a list of charsets, and only those
1280 charsets will be consulted, in the given order, for a translation. 1280 charsets will be consulted, in the given order, for a translation.
1281 Otherwise, the default ordering of all charsets will be given (see 1281 Otherwise, the default ordering of all charsets will be given (see
1282 `set-unicode-charset-precedence'). 1282 `set-unicode-charset-precedence').
1283 1283
1284 When there is no international support (i.e. the 'mule feature is not 1284 When there is no international support (i.e. the `mule' feature is not
1285 present), this function simply does `int-to-char' and ignores the CHARSETS 1285 present), this function simply does `int-to-char' and ignores the CHARSETS
1286 argument. 1286 argument.
1287 1287
1288 Note that the current XEmacs internal encoding has no mapping for many 1288 Note that the current XEmacs internal encoding has no mapping for many
1289 Unicode code points, and if you use characters that are vaguely obscure with 1289 Unicode code points, and if you use characters that are vaguely obscure with