Changeset 504 in svn for trunk/xcache.c


Ignore:
Timestamp:
2008-01-05T03:42:14Z (8 years ago)
Author:
Xuefer
Message:

PHP_6: updated support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r503 r504  
    17201720        zend_hash_destroy(&XG(internal_class_table));
    17211721
    1722         zend_hash_init_ex(&XG(internal_function_table), 100, NULL, CG(function_table)->pDestructor, 1, 0);
    1723         zend_hash_init_ex(&XG(internal_class_table),    10,  NULL, CG(class_table)->pDestructor,    1, 0);
    1724 
    1725         zend_hash_copy(&XG(internal_function_table), CG(function_table), (copy_ctor_func_t) function_add_ref, &tmp_func, sizeof(tmp_func));
    1726         zend_hash_copy(&XG(internal_class_table), CG(class_table), (copy_ctor_func_t) xc_zend_class_add_ref, &tmp_cest, sizeof(tmp_cest));
     1722        zend_hash_init_ex(&XG(internal_function_table), 100, NULL, NULL, 1, 0);
     1723        zend_hash_init_ex(&XG(internal_class_table),    10,  NULL, NULL, 1, 0);
     1724
     1725        zend_hash_copy(&XG(internal_function_table), CG(function_table), NULL, &tmp_func, sizeof(tmp_func));
     1726        zend_hash_copy(&XG(internal_class_table), CG(class_table), NULL, &tmp_cest, sizeof(tmp_cest));
    17271727
    17281728        XG(internal_table_copied) = 1;
Note: See TracChangeset for help on using the changeset viewer.