Changeset 496 for trunk/xcache.h


Ignore:
Timestamp:
2008-01-04T12:38:57+01:00 (7 years ago)
Author:
moo
Message:

fixed #157: support user error handler for E_STRICT. E_STRICT is now cached

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.h

    r491 r496  
    266266typedef enum { XC_TYPE_PHP, XC_TYPE_VAR } xc_entry_type_t; 
    267267typedef char xc_md5sum_t[16]; 
     268/* {{{ xc_compilererror_t */ 
     269typedef struct { 
     270    int type; 
     271    uint lineno; 
     272    int error_len; 
     273    char *error; 
     274} xc_compilererror_t; 
     275/* }}} */ 
    268276/* {{{ xc_entry_data_php_t */ 
    269277struct _xc_entry_data_php_t { 
     
    296304    zend_uint autoglobal_cnt; 
    297305    xc_autoglobal_t *autoglobals; 
     306#endif 
     307 
     308#ifdef E_STRICT 
     309    zend_uint compilererror_cnt; 
     310    xc_compilererror_t *compilererrors; 
    298311#endif 
    299312 
Note: See TracChangeset for help on using the changeset viewer.