diff options
| author | Kenichi Handa | 2008-11-11 07:25:27 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-11-11 07:25:27 +0000 |
| commit | a68053337d32d9a114ce4c45e26a89c55d0c4be4 (patch) | |
| tree | 7c026734eecc715938f5c1f70e14eabc5d083226 /src | |
| parent | 6f1b43a0ad8ed8e231f168fcd135376414cb56cc (diff) | |
| download | emacs-a68053337d32d9a114ce4c45e26a89c55d0c4be4.tar.gz emacs-a68053337d32d9a114ce4c45e26a89c55d0c4be4.zip | |
(map_char_table_for_charset): Add comment.
Diffstat (limited to 'src')
| -rw-r--r-- | src/chartab.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/chartab.c b/src/chartab.c index f8c1bba85b9..eb56fcf4194 100644 --- a/src/chartab.c +++ b/src/chartab.c | |||
| @@ -980,6 +980,27 @@ map_sub_char_table_for_charset (c_function, function, table, arg, range, | |||
| 980 | } | 980 | } |
| 981 | 981 | ||
| 982 | 982 | ||
| 983 | /* Support function for `map-charset-chars'. Map C_FUNCTION or | ||
| 984 | FUNCTION over TABLE, calling it for each cahracter or a group of | ||
| 985 | succeeding characters that have non-nil value in TABLE. TABLE is a | ||
| 986 | "mapping table" or a "deunifier table" of a certain charset. | ||
| 987 | |||
| 988 | If CHARSET is not NULL (this is the case that `map-charset-chars' | ||
| 989 | is called with non-nil FROM-CODE and TO-CODE), it is a charset who | ||
| 990 | owns TABLE, and the function is called only on a character in the | ||
| 991 | range FROM and TO. FROM and TO are not character codes, but code | ||
| 992 | points of a character in CHARSET. | ||
| 993 | |||
| 994 | This function is called in these two cases: | ||
| 995 | |||
| 996 | (1) A charset has a mapping file name in :map property. | ||
| 997 | |||
| 998 | (2) A charset has an upper code space in :offset property and a | ||
| 999 | mapping file name in :unify-map property. In this case, this | ||
| 1000 | function is called only for characters in the Unicode code space. | ||
| 1001 | Characters in upper code space are handled directly in | ||
| 1002 | map_charset_chars. */ | ||
| 1003 | |||
| 983 | void | 1004 | void |
| 984 | map_char_table_for_charset (c_function, function, table, arg, | 1005 | map_char_table_for_charset (c_function, function, table, arg, |
| 985 | charset, from, to) | 1006 | charset, from, to) |