[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/coding.h [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/coding.h [lexbind] |
Date: |
Wed, 08 Dec 2004 18:57:17 -0500 |
Index: emacs/src/coding.h
diff -c emacs/src/coding.h:1.63.4.2 emacs/src/coding.h:1.63.4.3
*** emacs/src/coding.h:1.63.4.2 Tue Oct 14 23:16:40 2003
--- emacs/src/coding.h Wed Dec 8 23:36:23 2004
***************
*** 1,4 ****
--- 1,5 ----
/* Header for coding system handler.
+ Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 1995, 1997 Electrotechnical Laboratory, JAPAN.
Licensed to the Free Software Foundation.
***************
*** 572,581 ****
for file names, if any. */
#define ENCODE_FILE(name) \
(! NILP (Vfile_name_coding_system) \
! && XFASTINT (Vfile_name_coding_system) != 0
\
? code_convert_string_norecord (name, Vfile_name_coding_system, 1) \
: (! NILP (Vdefault_file_name_coding_system)
\
! && XFASTINT (Vdefault_file_name_coding_system) != 0 \
? code_convert_string_norecord (name, Vdefault_file_name_coding_system,
1) \
: name))
--- 573,582 ----
for file names, if any. */
#define ENCODE_FILE(name) \
(! NILP (Vfile_name_coding_system) \
! && !EQ (Vfile_name_coding_system, make_number (0)) \
? code_convert_string_norecord (name, Vfile_name_coding_system, 1) \
: (! NILP (Vdefault_file_name_coding_system)
\
! && !EQ (Vdefault_file_name_coding_system, make_number (0)) \
? code_convert_string_norecord (name, Vdefault_file_name_coding_system,
1) \
: name))
***************
*** 583,592 ****
for file names, if any. */
#define DECODE_FILE(name) \
(! NILP (Vfile_name_coding_system) \
! && XFASTINT (Vfile_name_coding_system) != 0
\
? code_convert_string_norecord (name, Vfile_name_coding_system, 0) \
: (! NILP (Vdefault_file_name_coding_system)
\
! && XFASTINT (Vdefault_file_name_coding_system) != 0 \
? code_convert_string_norecord (name, Vdefault_file_name_coding_system,
0) \
: name))
--- 584,593 ----
for file names, if any. */
#define DECODE_FILE(name) \
(! NILP (Vfile_name_coding_system) \
! && !EQ (Vfile_name_coding_system, make_number (0)) \
? code_convert_string_norecord (name, Vfile_name_coding_system, 0) \
: (! NILP (Vdefault_file_name_coding_system)
\
! && !EQ (Vdefault_file_name_coding_system, make_number (0)) \
? code_convert_string_norecord (name, Vdefault_file_name_coding_system,
0) \
: name))
***************
*** 595,601 ****
for w32 system functions, if any. */
#define ENCODE_SYSTEM(str) \
(! NILP (Vlocale_coding_system) \
! && XFASTINT (Vlocale_coding_system) != 0 \
? code_convert_string_norecord (str, Vlocale_coding_system, 1) \
: str)
--- 596,602 ----
for w32 system functions, if any. */
#define ENCODE_SYSTEM(str) \
(! NILP (Vlocale_coding_system) \
! && !EQ (Vlocale_coding_system, make_number (0)) \
? code_convert_string_norecord (str, Vlocale_coding_system, 1) \
: str)
***************
*** 603,609 ****
for w32 system functions, if any. */
#define DECODE_SYSTEM(name) \
(! NILP (Vlocale_coding_system) \
! && XFASTINT (Vlocale_coding_system) != 0 \
? code_convert_string_norecord (str, Vlocale_coding_system, 0) \
: str)
--- 604,610 ----
for w32 system functions, if any. */
#define DECODE_SYSTEM(name) \
(! NILP (Vlocale_coding_system) \
! && !EQ (Vlocale_coding_system, make_number (0)) \
? code_convert_string_norecord (str, Vlocale_coding_system, 0) \
: str)
***************
*** 635,640 ****
--- 636,645 ----
extern Lisp_Object run_pre_post_conversion_on_str P_ ((Lisp_Object,
struct coding_system *,
int));
+ extern void run_pre_write_conversin_on_c_str P_ ((unsigned char **, int *,
+ int, int,
+ struct coding_system *));
+
extern int decoding_buffer_size P_ ((struct coding_system *, int));
extern int encoding_buffer_size P_ ((struct coding_system *, int));
extern void detect_coding P_ ((struct coding_system *, const unsigned char *,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/coding.h [lexbind],
Miles Bader <=