comparison src/mule-charset.c @ 452:3d3049ae1304 r21-2-41

Import from CVS: tag r21-2-41
author cvs
date Mon, 13 Aug 2007 11:40:21 +0200
parents 1ccc32a20af4
children 5bdbc721d46a
comparison
equal deleted inserted replaced
451:8ad70c5cd5d7 452:3d3049ae1304
1318 void 1318 void
1319 vars_of_mule_charset (void) 1319 vars_of_mule_charset (void)
1320 { 1320 {
1321 int i, j, k; 1321 int i, j, k;
1322 1322
1323 chlook = xnew (struct charset_lookup); 1323 chlook = xnew_and_zero (struct charset_lookup); /* zero for Purify. */
1324 dumpstruct (&chlook, &charset_lookup_description); 1324 dump_add_root_struct_ptr (&chlook, &charset_lookup_description);
1325 1325
1326 /* Table of charsets indexed by leading byte. */ 1326 /* Table of charsets indexed by leading byte. */
1327 for (i = 0; i < countof (chlook->charset_by_leading_byte); i++) 1327 for (i = 0; i < countof (chlook->charset_by_leading_byte); i++)
1328 chlook->charset_by_leading_byte[i] = Qnil; 1328 chlook->charset_by_leading_byte[i] = Qnil;
1329 1329