Changeset 682


Ignore:
Timestamp:
2009-09-08T05:25:58+02:00 (5 years ago)
Author:
moo
Message:

PHP_6: fix for function and class talbe similar to previous fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r681 r682  
    709709#endif 
    710710    h = OG(function_table); 
    711     zend_hash_init_ex(&TG(function_table), 128, NULL, h->pDestructor, h->persistent, h->bApplyProtection); 
     711    zend_hash_init_ex(&TG(function_table), 128, NULL, ZEND_FUNCTION_DTOR, h->persistent, h->bApplyProtection); 
    712712    { 
    713713        zend_function tmp_func; 
     
    717717 
    718718    h = OG(class_table); 
    719     zend_hash_init_ex(&TG(class_table),     16, NULL, h->pDestructor, h->persistent, h->bApplyProtection); 
     719    zend_hash_init_ex(&TG(class_table),     16, NULL, ZEND_CLASS_DTOR, h->persistent, h->bApplyProtection); 
    720720#if 0 && TODO 
    721721    { 
Note: See TracChangeset for help on using the changeset viewer.