Changeset 662 for trunk/xcache.h
- Timestamp:
- 08/03/2009 10:15:53 AM (4 years ago)
- Files:
-
- 1 modified
-
trunk/xcache.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.h
r659 r662 62 62 #ifndef IS_CONSTANT_TYPE_MASK 63 63 # define IS_CONSTANT_TYPE_MASK (~IS_CONSTANT_INDEX) 64 #endif 65 66 #ifndef ZEND_ENGINE_2_3 67 #define zend_dirname(path, len) xc_dirname(path, len) 64 68 #endif 65 69 … … 238 242 } xc_cache_t; 239 243 /* }}} */ 244 /* {{{ xc_op_array_info_t */ 245 typedef struct { 246 zend_uint oplineinfo_cnt; 247 int *oplineinfos; 248 } xc_op_array_info_t; 249 /* }}} */ 240 250 /* {{{ xc_classinfo_t */ 241 251 typedef struct { … … 246 256 zend_uint key_size; 247 257 ulong h; 258 zend_uint methodinfo_cnt; 259 xc_op_array_info_t *methodinfos; 248 260 xc_cest_t cest; 249 261 #ifndef ZEND_COMPILE_DELAYED_BINDING … … 273 285 zend_uint key_size; 274 286 ulong h; 287 xc_op_array_info_t op_array_info; 275 288 zend_function func; 276 289 } xc_funcinfo_t; … … 311 324 size_t size; 312 325 326 int filepath_len; 327 char *filepath; 328 int dirpath_len; 329 char *dirpath; 330 #ifdef IS_UNICODE 331 UChar *ufilepath; 332 int ufilepath_len; 333 UChar *udirpath; 334 int udirpath_len; 335 #endif 336 337 xc_op_array_info_t op_array_info; 313 338 zend_op_array *op_array; 314 339 … … 387 412 int xc_is_ro(const void *p); 388 413 int xc_is_shm(const void *p); 389 void xc_gc_add_op_array(zend_op_array *op_array TSRMLS_DC); 414 /* {{{ xc_gc_op_array_t */ 415 typedef struct { 416 #ifdef ZEND_ENGINE_2 417 zend_uint num_args; 418 zend_arg_info *arg_info; 419 #endif 420 zend_uint last; 421 zend_op *opcodes; 422 } xc_gc_op_array_t; 423 /* }}} */ 424 void xc_gc_add_op_array(xc_gc_op_array_t *gc_op_array TSRMLS_DC); 425 void xc_fix_op_array_info(const xc_entry_data_php_t *php, zend_op_array *op_array, int shallow_copied, const xc_op_array_info_t *op_array_info TSRMLS_DC); 390 426 391 427 #endif /* __XCACHE_H */

