Changeset 95 for trunk/xcache.h


Ignore:
Timestamp:
2006-07-16T13:07:57+02:00 (8 years ago)
Author:
moo
Message:

fixed #20, default: --enable-xcache-constant=yes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.h

    r88 r95  
    154154} xc_classinfo_t; 
    155155/* }}} */ 
     156#ifdef HAVE_XCACHE_CONSTANT 
     157/* {{{ xc_constinfo_t */ 
     158typedef struct { 
     159#ifdef IS_UNICODE 
     160    zend_uchar type; 
     161#endif 
     162    char *key; 
     163    zend_uint key_size; 
     164    zend_constant constant; 
     165} xc_constinfo_t; 
     166/* }}} */ 
     167#endif 
    156168/* {{{ xc_funcinfo_t */ 
    157169typedef struct { 
     
    175187 
    176188    zend_op_array *op_array; 
     189 
     190#ifdef HAVE_XCACHE_CONSTANT 
     191    zend_uint constinfo_cnt; 
     192    xc_constinfo_t *constinfos; 
     193#endif 
    177194 
    178195    zend_uint funcinfo_cnt; 
Note: See TracChangeset for help on using the changeset viewer.