aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2005-05-27 11:28:42 +0000
committerKenichi Handa2005-05-27 11:28:42 +0000
commit7cf49add818a6f2e43bedb3869ed8b647f3435fe (patch)
tree5b726683836ec968c767579045c4f55dc642b931 /src
parentd8752c9ec0de92e270f5b6c8178d6bde15c10028 (diff)
downloademacs-7cf49add818a6f2e43bedb3869ed8b647f3435fe.tar.gz
emacs-7cf49add818a6f2e43bedb3869ed8b647f3435fe.zip
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog17
-rw-r--r--src/ccl.h7
2 files changed, 24 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9a3a814d6c2..d85709e4c35 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,20 @@
12005-05-27 Kenichi Handa <handa@m17n.org>
2
3 * xterm.c (x_encode_char): Call check_ccl_update in advance.
4
5 * ccl.c: Now an element of Vccl_program_table is a vector of
6 length 4, not 3.
7 (ccl_get_compiled_code): New arg idx. Caller changed. Adjusted
8 for the change of Vccl_program_table.
9 (setup_ccl_program): Adjusted for the change of
10 Vccl_program_table.
11 (check_ccl_update): New function.
12 (Fregister_ccl_program): Use ASET to set an element of a vector.
13 Adjusted for the change of Vccl_program_table.
14
15 * ccl.h (struct ccl_program): New member idx.
16 (check_ccl_update): Extern it.
17
12005-05-27 Juanma Barranquero <lekktu@gmail.com> 182005-05-27 Juanma Barranquero <lekktu@gmail.com>
2 19
3 * buffer.c (Fbuffer_local_value): Make argument name match its use 20 * buffer.c (Fbuffer_local_value): Make argument name match its use
diff --git a/src/ccl.h b/src/ccl.h
index cda611007f8..1c9c1b3b34e 100644
--- a/src/ccl.h
+++ b/src/ccl.h
@@ -33,6 +33,10 @@ Boston, MA 02111-1307, USA. */
33/* Structure to hold information about running CCL code. Read 33/* Structure to hold information about running CCL code. Read
34 comments in the file ccl.c for the detail of each field. */ 34 comments in the file ccl.c for the detail of each field. */
35struct ccl_program { 35struct ccl_program {
36 int idx; /* Index number of the CCL program.
37 -1 means that the program was given
38 by a vector, not by a program
39 name. */
36 int size; /* Size of the compiled code. */ 40 int size; /* Size of the compiled code. */
37 Lisp_Object *prog; /* Pointer into the compiled code. */ 41 Lisp_Object *prog; /* Pointer into the compiled code. */
38 int ic; /* Instruction Counter (index for PROG). */ 42 int ic; /* Instruction Counter (index for PROG). */
@@ -90,6 +94,9 @@ extern Lisp_Object Vfont_ccl_encoder_alist;
90 execution of ccl program CCL_PROG (symbol or vector). */ 94 execution of ccl program CCL_PROG (symbol or vector). */
91extern int setup_ccl_program P_ ((struct ccl_program *, Lisp_Object)); 95extern int setup_ccl_program P_ ((struct ccl_program *, Lisp_Object));
92 96
97/* Check if CCL is updated or not. If not, re-setup members of CCL. */
98extern int check_ccl_update P_ ((struct ccl_program *));
99
93extern int ccl_driver P_ ((struct ccl_program *, unsigned char *, 100extern int ccl_driver P_ ((struct ccl_program *, unsigned char *,
94 unsigned char *, int, int, int *)); 101 unsigned char *, int, int, int *));
95 102