changeset 17724:545c2f09f14d

(CODING_SPEC_ISO_PLANE_CHARSET): Return -1 if no character set is invoked to PLANE. (struct coding_system): New member character_unification_table.
author Kenichi Handa <handa@m17n.org>
date Sat, 10 May 1997 03:37:01 +0000
parents f67a321c8fb6
children 92f042f73be2
files src/coding.h
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.h	Sat May 10 03:37:01 1997 +0000
+++ b/src/coding.h	Sat May 10 03:37:01 1997 +0000
@@ -175,9 +175,11 @@
 
 /* Return a charset which is currently designated to the graphic plane
    PLANE in the coding-system CODING.  */
-#define CODING_SPEC_ISO_PLANE_CHARSET(coding, plane) \
-  CODING_SPEC_ISO_DESIGNATION		 \
-  (coding, CODING_SPEC_ISO_INVOCATION (coding, plane))
+#define CODING_SPEC_ISO_PLANE_CHARSET(coding, plane)	\
+  ((CODING_SPEC_ISO_INVOCATION (coding, plane) < 0)	\
+   ? -1							\
+   : CODING_SPEC_ISO_DESIGNATION (coding,		\
+				  CODING_SPEC_ISO_INVOCATION (coding, plane)))
 
 /*** BIG5 section ***/
 
@@ -288,6 +290,9 @@
      additional conversion. */
   Lisp_Object pre_write_conversion;
 
+  /* Character unification table to look up, or nil.  */
+  Lisp_Object character_unification_table;
+
   /* Carryover yielded by decoding/encoding incomplete source.  No
      coding-system yields more than 7-byte of carryover.  This does
      not include a text which is not processed because of short of