aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.h
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2019-04-27 18:33:39 +0900
committerYAMAMOTO Mitsuharu2019-04-27 18:33:39 +0900
commit886bedb36c7b959b7e6fc8ce8e0c04e144b0ae28 (patch)
treeb5770d9fc10a704ad8aeb3474c6940121252c770 /src/coding.h
parent015a6e1df2772bd43680df5cbeaffccf98a881da (diff)
parent8dc00b2f1e6523c634df3e24379afbe712a32b27 (diff)
downloademacs-886bedb36c7b959b7e6fc8ce8e0c04e144b0ae28.tar.gz
emacs-886bedb36c7b959b7e6fc8ce8e0c04e144b0ae28.zip
Merge branch 'master' into harfbuzz
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/coding.h b/src/coding.h
index d2cf4d8a7ba..0c03d1a44ed 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -1,5 +1,5 @@
1/* Header for coding system handler. 1/* Header for coding system handler.
2 Copyright (C) 2001-2018 Free Software Foundation, Inc. 2 Copyright (C) 2001-2019 Free Software Foundation, Inc.
3 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 2005, 2006, 2007, 2008, 2009, 2010, 2011 4 2005, 2006, 2007, 2008, 2009, 2010, 2011
5 National Institute of Advanced Industrial Science and Technology (AIST) 5 National Institute of Advanced Industrial Science and Technology (AIST)
@@ -82,7 +82,7 @@ enum define_coding_ccl_arg_index
82 82
83enum define_coding_undecided_arg_index 83enum define_coding_undecided_arg_index
84 { 84 {
85 coding_arg_undecided_inhibit_null_byte_detection = coding_arg_max, 85 coding_arg_undecided_inhibit_nul_byte_detection = coding_arg_max,
86 coding_arg_undecided_inhibit_iso_escape_detection, 86 coding_arg_undecided_inhibit_iso_escape_detection,
87 coding_arg_undecided_prefer_utf_8, 87 coding_arg_undecided_prefer_utf_8,
88 coding_arg_undecided_max 88 coding_arg_undecided_max
@@ -97,6 +97,8 @@ enum define_coding_undecided_arg_index
97 97
98extern Lisp_Object Vcoding_system_hash_table; 98extern Lisp_Object Vcoding_system_hash_table;
99 99
100/* Name (or base name) of work buffer for code conversion. */
101extern Lisp_Object Vcode_conversion_workbuf_name;
100 102
101/* Enumeration of index to an attribute vector of a coding system. */ 103/* Enumeration of index to an attribute vector of a coding system. */
102 104
@@ -137,7 +139,7 @@ enum coding_attr_index
137 139
138 coding_attr_emacs_mule_full, 140 coding_attr_emacs_mule_full,
139 141
140 coding_attr_undecided_inhibit_null_byte_detection, 142 coding_attr_undecided_inhibit_nul_byte_detection,
141 coding_attr_undecided_inhibit_iso_escape_detection, 143 coding_attr_undecided_inhibit_iso_escape_detection,
142 coding_attr_undecided_prefer_utf_8, 144 coding_attr_undecided_prefer_utf_8,
143 145
@@ -351,7 +353,7 @@ struct emacs_mule_spec
351 353
352struct undecided_spec 354struct undecided_spec
353{ 355{
354 /* Inhibit null byte detection. 1 means always inhibit, 356 /* Inhibit NUL byte detection. 1 means always inhibit,
355 -1 means do not inhibit, 0 means rely on user variable. */ 357 -1 means do not inhibit, 0 means rely on user variable. */
356 int inhibit_nbd; 358 int inhibit_nbd;
357 359
@@ -450,7 +452,7 @@ struct coding_system
450 452
451 unsigned char *safe_charsets; 453 unsigned char *safe_charsets;
452 454
453 /* How may heading bytes we can skip for decoding. This is set to 455 /* How many heading bytes we can skip for decoding. This is set to
454 -1 in setup_coding_system, and updated by detect_coding. So, 456 -1 in setup_coding_system, and updated by detect_coding. So,
455 when this is equal to the byte length of the text being 457 when this is equal to the byte length of the text being
456 converted, we can skip the actual conversion process except for 458 converted, we can skip the actual conversion process except for
@@ -762,15 +764,10 @@ surrogates_to_codepoint (int low, int high)
762 764
763extern Lisp_Object preferred_coding_system (void); 765extern Lisp_Object preferred_coding_system (void);
764 766
765
766#ifdef emacs
767
768/* Coding system to be used to encode text for terminal display when 767/* Coding system to be used to encode text for terminal display when
769 terminal coding system is nil. */ 768 terminal coding system is nil. */
770extern struct coding_system safe_terminal_coding; 769extern struct coding_system safe_terminal_coding;
771 770
772#endif
773
774extern char emacs_mule_bytes[256]; 771extern char emacs_mule_bytes[256];
775 772
776INLINE_HEADER_END 773INLINE_HEADER_END