1 /* Header for CCL (Code Conversion Language) interpreter.
3 Copyright (C) 1995 Free Software Foundation, Inc.
4 Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
23 /* Structure to hold information about running CCL code. Read
24 comments in the file ccl.c for the detail of each field. */
26 int size
; /* Size of the compiled code. */
27 Lisp_Object
*prog
; /* Pointer into the compiled code. */
28 int ic
; /* Instruction Counter (index for PROG). */
29 int eof_ic
; /* Instruction Counter for end-of-file
31 int reg
[8]; /* CCL registers, reg[7] is used for
32 condition flag of relational
34 int last_block
; /* Set to 1 while processing the last
36 int status
; /* Exit status of the CCL program. */
37 int buf_magnification
; /* Output buffer magnification. How
38 many times bigger the output buffer
39 should be than the input buffer. */
42 /* This data type is used for the spec field of the structure
46 struct ccl_program decoder
;
47 struct ccl_program encoder
;
50 /* Alist of fontname patterns vs corresponding CCL program. */
51 extern Lisp_Object Vfont_ccl_encoder_alist
;