Changeset 07cdfb0 in git


Ignore:
Timestamp:
2006-09-24T05:14:13Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
01bd668
Parents:
d8701d4
Message:

processor: move op_array ctor to be more readable

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@195 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • processor/head.m4

    rec94318 r07cdfb0  
    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.