(put_char_ccs_code_point): Modify for interface change of
[chise/xemacs-chise.git-] / src / char-1byte.h
index 75aaab6..d31c89c 100644 (file)
@@ -90,6 +90,17 @@ typedef struct Charc
   unsigned char code_point;
 } Charc;
 
+INLINE_HEADER Charc CHAR_TO_CHARC (Emchar ch);
+INLINE_HEADER Charc
+CHAR_TO_CHARC (Emchar ch)
+{
+  Charc cc;
+
+  cc.charset = Vcharset_ascii;
+  cc.code_point = ch;
+  return cc;
+}
+
 \f
 /************************************************************************/
 /*                            Exported functions                        */