Changeset 496 in svn for trunk/utils.h


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.h

    r405 r496  
    8080typedef struct {
    8181    int alloc;
    82     int orig_user_error_handler_error_reporting;
    8382    char *filename;
    8483
     
    9897    Bucket    *tmp_internal_function_tail;
    9998    Bucket    *tmp_internal_class_tail;
     99
     100#ifdef E_STRICT
     101    int orig_user_error_handler_error_reporting;
     102    ZEND_API void (*orig_zend_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args);
     103    zend_uint compilererror_cnt;
     104    zend_uint compilererror_size;
     105    xc_compilererror_t *compilererrors;
     106#endif
    100107} xc_sandbox_t;
    101108
Note: See TracChangeset for help on using the changeset viewer.