Changeset 348 for eaccelerator/trunk/eaccelerator.c
- Timestamp:
- 06/20/08 11:20:17 (4 months ago)
- Files:
-
- eaccelerator/trunk/eaccelerator.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/eaccelerator.c
r347 r348 1103 1103 } 1104 1104 1105 /* copy of zend_class_add_ref, the linker isn't able to link to it any more 1106 * in php 5.3 1107 * TODO: see if we can steal the pointer 1108 */ 1109 void ea_class_add_ref(zend_class_entry **ce) 1110 { 1111 (*ce)->refcount++; 1112 } 1113 1105 1114 /* 1106 1115 * Intercept compilation of PHP file. If we already have the file in … … 1224 1233 1225 1234 zend_hash_init_ex(&tmp_class_table, 10, NULL, ZEND_CLASS_DTOR, 1, 0); 1226 zend_hash_copy(&tmp_class_table, &eaccelerator_global_class_table, (copy_ctor_func_t) zend_class_add_ref, &tmp_class, sizeof(zend_class_entry *));1235 zend_hash_copy(&tmp_class_table, &eaccelerator_global_class_table, (copy_ctor_func_t)ea_class_add_ref, &tmp_class, sizeof(zend_class_entry *)); 1227 1236 1228 1237 orig_class_table = CG(class_table);;