{
for (c = 0; c < 1 << 24; c++)
{
- if ( INTP (get_char_id_table (XCHAR_ID_TABLE(encoding_table),
+ if ( INTP (get_char_id_table (XCHAR_TABLE(encoding_table),
c)) )
put_char_id_table_0 (cit, c, value);
}
Lisp_Object ret;
Emchar c = to_char_id (v, "Invalid value for composition", list);
- ret = get_char_id_table (XCHAR_ID_TABLE(table), c);
+ ret = get_char_id_table (XCHAR_TABLE(table), c);
rest = Fcdr (rest);
if (NILP (rest))
{
CHECK_CHAR (character);
return Fcopy_list (get_char_id_table
- (XCHAR_ID_TABLE(Vcharacter_variant_table),
+ (XCHAR_TABLE(Vcharacter_variant_table),
XCHAR (character)));
}
{
for (c = 0; c < 1 << 24; c++)
{
- if ( INTP (get_char_id_table (XCHAR_ID_TABLE(encoding_table),
+ if ( INTP (get_char_id_table (XCHAR_TABLE(encoding_table),
c)) )
put_char_id_table_0 (ct, c, val);
}
return map_over_byte_table (XBYTE_TABLE(ct->table), 0, 3,
Qnil, fn, arg);
else if (!UNBOUNDP (ct->table))
+#if 1
{
struct chartab_range rainj;
- int unit = 1 << 8 /* 1 << 24 */;
+ int unit = 1 << 8 /* 30 */;
Emchar c = 0;
Emchar c1 = c + unit;
int retval;
}
return retval;
}
+#else
+ return (fn) (range, ct->table, arg);
+#endif
return 0;
#else
{
/* This function can GC */
struct char_attribute_alist_closure *caacl =
(struct char_attribute_alist_closure*) char_attribute_alist_closure;
- Lisp_Object ret = get_char_id_table (XCHAR_ID_TABLE(caacl->char_id), value);
+ Lisp_Object ret = get_char_id_table (XCHAR_TABLE(caacl->char_id), value);
if (!UNBOUNDP (ret))
{
Lisp_Object *char_attribute_alist = caacl->char_attribute_alist;
if ( CHAR_ID_TABLE_P (encoding_table)
&& INTP (cpos
- = get_char_id_table (XCHAR_ID_TABLE(encoding_table),
+ = get_char_id_table (XCHAR_TABLE(encoding_table),
XCHAR (character))) )
{
alist = Fcons (Fcons (ccs, cpos), alist);
Lisp_Object encoding_table = XCHARSET_ENCODING_TABLE (ccs);
if (CHAR_ID_TABLE_P (encoding_table))
- return get_char_id_table (XCHAR_ID_TABLE(encoding_table),
+ return get_char_id_table (XCHAR_TABLE(encoding_table),
XCHAR (character));
}
else
Qunbound);
if (!UNBOUNDP (table))
{
- Lisp_Object ret = get_char_id_table (XCHAR_ID_TABLE(table),
+ Lisp_Object ret = get_char_id_table (XCHAR_TABLE(table),
XCHAR (character));
if (!UNBOUNDP (ret))
return ret;
}
else
{
- ntable = get_char_id_table (XCHAR_ID_TABLE(table), c);
+ ntable = get_char_id_table (XCHAR_TABLE(table), c);
if (!CHAR_ID_TABLE_P (ntable))
{
ntable = make_char_id_table (Qnil);
{
Emchar c = XINT (v);
Lisp_Object ret
- = get_char_id_table (XCHAR_ID_TABLE(Vcharacter_variant_table),
+ = get_char_id_table (XCHAR_TABLE(Vcharacter_variant_table),
c);
if (NILP (Fmemq (v, ret)))
c = XINT (value);
- ret = get_char_id_table (XCHAR_ID_TABLE(Vcharacter_variant_table), c);
+ ret = get_char_id_table (XCHAR_TABLE(Vcharacter_variant_table), c);
if (NILP (Fmemq (character, ret)))
{
put_char_id_table (XCHAR_TABLE(Vcharacter_variant_table),
Lisp_Object encoding_table = XCHARSET_ENCODING_TABLE (ccs);
if (CHAR_ID_TABLE_P (encoding_table))
- ct = XCHAR_ID_TABLE (encoding_table);
+ ct = XCHAR_TABLE (encoding_table);
else
return Qnil;
}
Vchar_attribute_hash_table,
Qunbound);
if (CHAR_ID_TABLE_P (table))
- ct = XCHAR_ID_TABLE (table);
+ ct = XCHAR_TABLE (table);
else
return Qnil;
}