Ignore:
Timestamp:
2006-09-20T02:24:42+02:00 (8 years ago)
Author:
moo
Message:

call op_array_ctor handler on restore to be more compatible with other zend_extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r178 r189  
    55 
    66#include "php.h" 
     7#include "zend_extensions.h" 
    78#include "zend_compile.h" 
    89#include "zend_API.h" 
     
    1920extern unsigned int zend_hash_canary; 
    2021#endif 
     22extern zend_bool xc_have_op_array_ctor; 
     23static void xc_zend_extension_op_array_ctor_handler(zend_extension *extension, zend_op_array *op_array TSRMLS_DC) 
     24{ 
     25    if (extension->op_array_ctor) { 
     26        extension->op_array_ctor(op_array); 
     27    } 
     28} 
    2129 
    2230define(`SIZEOF_zend_uint', `sizeof(zend_uint)') 
Note: See TracChangeset for help on using the changeset viewer.