Ignore:
Timestamp:
2013-07-15T19:37:57+02:00 (2 years ago)
Author:
Xuefer
Message:

add back PHP_4 code for disassembler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_disassembler/xc_disassembler.c

    r1313 r1321  
    7676        ALLOC_INIT_ZVAL(zv);
    7777        array_init(zv);
    78         xc_dasm_zend_class_entry(&dasm, zv, *(zend_class_entry **)b->pData TSRMLS_CC);
     78        xc_dasm_zend_class_entry(&dasm, zv, CestToCePtr(*(xc_cest_t *)b->pData) TSRMLS_CC);
    7979
    8080        keysize = BUCKET_KEY_SIZE(b) + 2;
     
    151151
    152152    /* free */
     153#ifdef ZEND_ENGINE_2
    153154    destroy_op_array(op_array TSRMLS_CC);
     155#else
     156    destroy_op_array(op_array);
     157#endif
    154158    efree(op_array);
    155159
     
    247251    NO_MODULE_GLOBALS,
    248252#endif
    249     NULL,
     253#ifdef ZEND_ENGINE_2
     254    NULL,
     255#else
     256    NULL,
     257    NULL,
     258#endif
    250259    STANDARD_MODULE_PROPERTIES_EX
    251260};
Note: See TracChangeset for help on using the changeset viewer.