Mercurial > emacs
comparison src/coding.h @ 89506:4df223da38ce
(ENCODE_UTF_8): New.
| author | Dave Love <fx@gnu.org> |
|---|---|
| date | Tue, 16 Sep 2003 17:31:04 +0000 |
| parents | 2f877ed80fa6 |
| children | 7d38a63951c0 |
comparison
equal
deleted
inserted
replaced
| 89505:c7f742ad46b6 | 89506:4df223da38ce |
|---|---|
| 539 #define ENCODE_SYSTEM(str) string_make_unibyte(str) | 539 #define ENCODE_SYSTEM(str) string_make_unibyte(str) |
| 540 #define DECODE_SYSTEM(name) name | 540 #define DECODE_SYSTEM(name) name |
| 541 | 541 |
| 542 #endif /* !WINDOWSNT */ | 542 #endif /* !WINDOWSNT */ |
| 543 | 543 |
| 544 /* Used by the gtk menu code. Note that this encodes utf-8, not | |
| 545 utf-8-emacs, so it's not a no-op. */ | |
| 546 #define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1) | |
| 547 | |
| 544 /* Extern declarations. */ | 548 /* Extern declarations. */ |
| 545 extern Lisp_Object make_conversion_work_buffer P_ ((int, int)); | 549 extern Lisp_Object make_conversion_work_buffer P_ ((int, int)); |
| 546 extern int decoding_buffer_size P_ ((struct coding_system *, int)); | 550 extern int decoding_buffer_size P_ ((struct coding_system *, int)); |
| 547 extern int encoding_buffer_size P_ ((struct coding_system *, int)); | 551 extern int encoding_buffer_size P_ ((struct coding_system *, int)); |
| 548 extern void setup_coding_system P_ ((Lisp_Object, struct coding_system *)); | 552 extern void setup_coding_system P_ ((Lisp_Object, struct coding_system *)); |
