Changeset 428 for branches/1.2
- Timestamp:
- 2007-06-22T17:09:46+02:00 (6 years ago)
- File:
-
- 1 edited
-
branches/1.2/xcache.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/xcache.c
r423 r428 1468 1468 xc_cest_t tmp_cest; 1469 1469 1470 zend_hash_destroy(&XG(internal_function_table)); 1471 zend_hash_destroy(&XG(internal_class_table)); 1472 1470 1473 zend_hash_init_ex(&XG(internal_function_table), 100, NULL, CG(function_table)->pDestructor, 1, 0); 1474 zend_hash_init_ex(&XG(internal_class_table), 10, NULL, CG(class_table)->pDestructor, 1, 0); 1475 1471 1476 zend_hash_copy(&XG(internal_function_table), CG(function_table), (copy_ctor_func_t) function_add_ref, &tmp_func, sizeof(tmp_func)); 1472 1473 zend_hash_init_ex(&XG(internal_class_table), 10, NULL, CG(class_table)->pDestructor, 1, 0);1474 1477 zend_hash_copy(&XG(internal_class_table), CG(class_table), (copy_ctor_func_t) xc_zend_class_add_ref, &tmp_cest, sizeof(tmp_cest)); 1475 1478 } … … 1519 1522 { 1520 1523 memset(xcache_globals, 0, sizeof(zend_xcache_globals)); 1524 1525 zend_hash_init_ex(&xcache_globals->internal_function_table, 1, NULL, NULL, 1, 0); 1526 zend_hash_init_ex(&xcache_globals->internal_class_table, 1, NULL, NULL, 1, 0); 1527 1521 1528 } 1522 1529 /* }}} */
Note: See TracChangeset
for help on using the changeset viewer.

