From 79e8ce9a9585504fffd867afaca466206c24674a Mon Sep 17 00:00:00 2001 From: tomo Date: Sat, 12 Jun 1999 04:39:16 +0000 Subject: [PATCH] (CCL_MODE_ENCODING): New macro. (CCL_MODE_DECODING): New macro. (ccl_driver): Add new argument `conversion_mode'. --- src/mule-ccl.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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. */ -- 1.7.10.4