From: tomo Date: Sat, 12 Jun 1999 04:39:16 +0000 (+0000) Subject: (CCL_MODE_ENCODING): New macro. X-Git-Tag: r21-2-15-tomo-4~5 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=79e8ce9a9585504fffd867afaca466206c24674a;p=chise%2Fxemacs-chise.git.1 (CCL_MODE_ENCODING): New macro. (CCL_MODE_DECODING): New macro. (ccl_driver): Add new argument `conversion_mode'. --- diff --git a/src/mule-ccl.h b/src/mule-ccl.h index 10c759d..68cbb76 100644 --- a/src/mule-ccl.h +++ b/src/mule-ccl.h @@ -43,8 +43,13 @@ struct ccl_program { should be than the input buffer. */ }; + +#define CCL_MODE_ENCODING 0 +#define CCL_MODE_DECODING 1 + int ccl_driver (struct ccl_program *ccl, CONST unsigned char *source, - unsigned_char_dynarr *destination, int src_bytes, int *consumed); + unsigned_char_dynarr *destination, int src_bytes, + int *consumed, int conversion_mode); void setup_ccl_program (struct ccl_program *ccl, Lisp_Object val); /* Alist of fontname patterns vs corresponding CCL program. */