Changeset 88 for trunk/utils.c
- Timestamp:
- 2006-07-09T14:47:31+02:00 (7 years ago)
- File:
-
- 1 edited
-
trunk/utils.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/utils.c
r19 r88 265 265 #endif 266 266 267 void xc_install_function(char *filename, zend_function *func, zend_uchar type, char*key, uint len TSRMLS_DC) /* {{{ */267 void xc_install_function(char *filename, zend_function *func, zend_uchar type, void *key, uint len TSRMLS_DC) /* {{{ */ 268 268 { 269 269 if (func->type == ZEND_USER_FUNCTION) { 270 if (zend_u_hash_add(CG(function_table), type, key, len, 270 if (*(char *) key == '\0') { 271 zend_u_hash_update(CG(function_table), type, key, len, 272 func, sizeof(zend_op_array), 273 NULL 274 ); 275 } 276 else if (zend_u_hash_add(CG(function_table), type, key, len, 271 277 func, sizeof(zend_op_array), 272 278 NULL … … 285 291 ZESW(void *stored_ce_ptr, NOTHING); 286 292 287 if (zend_u_hash_add(CG(class_table), type, key, len, 293 if (*(char *) key == '\0') { 294 zend_u_hash_update(CG(class_table), type, key, len, 295 cest, sizeof(xc_cest_t), 296 ZESW(&stored_ce_ptr, NULL) 297 ); 298 } 299 else if (zend_u_hash_add(CG(class_table), type, key, len, 288 300 cest, sizeof(xc_cest_t), 289 301 ZESW(&stored_ce_ptr, NULL)
Note: See TracChangeset
for help on using the changeset viewer.

