Changeset 348 for eaccelerator/trunk/ea_store.c
- Timestamp:
- 06/20/08 11:20:17 (4 months ago)
- Files:
-
- eaccelerator/trunk/ea_store.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/ea_store.c
r344 r348 47 47 inline 48 48 #endif 49 #ifdef ZEND_ENGINE_2_3 50 static size_t calc_string(const char *str, int len TSRMLS_DC) 51 #else 49 52 static size_t calc_string(char *str, int len TSRMLS_DC) 53 #endif 50 54 { 51 55 if (len > MAX_DUP_STR_LEN || … … 324 328 EACCELERATOR_ALIGN((*at)); 325 329 330 #ifdef ZEND_ENGINE_2_3 331 static inline char *store_string(char **at, const char *str, int len TSRMLS_DC) 332 #else 326 333 static inline char *store_string(char **at, char *str, int len TSRMLS_DC) 334 #endif 327 335 { 328 336 char *p; … … 553 561 to->try_catch_array = from->try_catch_array; 554 562 to->last_try_catch = from->last_try_catch; 563 #ifdef ZEND_ENGINE_2_3 564 to->this_var = from->this_var; 565 #else 555 566 to->uses_this = from->uses_this; 567 #endif 556 568 if (from->try_catch_array != NULL) { 557 569 to->try_catch_array = (zend_try_catch_element *)ALLOCATE(at, sizeof(zend_try_catch_element) * from->last_try_catch);