Changeset 195 in svn for trunk


Ignore:
Timestamp:
2006-09-24T07:14:13+02:00 (9 years ago)
Author:
Xuefer
Message:

processor: move op_array ctor to be more readable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r189 r195  
    2020extern unsigned int zend_hash_canary;
    2121#endif
    22 extern zend_bool xc_have_op_array_ctor;
    23 static 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 }
    2922
    3023define(`SIZEOF_zend_uint', `sizeof(zend_uint)')
     
    255248/* }}} */
    256249#endif
     250/* {{{ call op_array ctor handler */
     251extern zend_bool xc_have_op_array_ctor;
     252static void xc_zend_extension_op_array_ctor_handler(zend_extension *extension, zend_op_array *op_array TSRMLS_DC)
     253{
     254    if (extension->op_array_ctor) {
     255        extension->op_array_ctor(op_array);
     256    }
     257}
     258/* }}} */
    257259dnl ================ export API
    258260/* export: xc_entry_t *xc_processor_store_xc_entry_t(xc_entry_t *src TSRMLS_DC); :export {{{ */
Note: See TracChangeset for help on using the changeset viewer.