Changeset 1016
- Timestamp:
- 07/20/2012 08:58:03 AM (10 months ago)
- Location:
- trunk/xcache
- Files:
-
- 2 modified
-
xc_utils.c (modified) (3 diffs)
-
xc_utils.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache/xc_utils.c
r1003 r1016 51 51 /* }}} */ 52 52 53 int xc_apply_function(zend_function *zf, apply_func_t applyer TSRMLS_DC) /* {{{ */53 static int xc_apply_function(zend_function *zf, apply_func_t applyer TSRMLS_DC) /* {{{ */ 54 54 { 55 55 switch (zf->type) { … … 98 98 /* }}} */ 99 99 #if 0 100 int xc_apply_class(zend_class_entry *ce, apply_func_t applyer TSRMLS_DC) /* {{{ */100 static int xc_apply_class(zend_class_entry *ce, apply_func_t applyer TSRMLS_DC) /* {{{ */ 101 101 { 102 102 xc_apply_method_info mi; … … 339 339 /* }}} */ 340 340 341 int xc_foreach_early_binding_class(zend_op_array *op_array, void (*callback)(zend_op *opline, int oplineno, void *data TSRMLS_DC), void *data TSRMLS_DC) /* {{{ */341 int xc_foreach_early_binding_class(zend_op_array *op_array, xc_foreach_early_binding_class_cb callback, void *data TSRMLS_DC) /* {{{ */ 342 342 { 343 343 zend_op *opline, *begin, *opline_end, *next = NULL; -
trunk/xcache/xc_utils.h
r1006 r1016 15 15 xc_compile_result_t *xc_compile_result_init_cur(xc_compile_result_t *cr, zend_op_array *op_array TSRMLS_DC); 16 16 /* apply func */ 17 int xc_apply_function(zend_function *zf, apply_func_t applyer TSRMLS_DC);18 int xc_apply_class(zend_class_entry *ce, apply_func_t applyer TSRMLS_DC);19 17 int xc_apply_op_array(xc_compile_result_t *cr, apply_func_t applyer TSRMLS_DC); 20 18 … … 25 23 zend_uchar xc_get_fixed_opcode(zend_uchar opcode, int line); 26 24 27 int xc_foreach_early_binding_class(zend_op_array *op_array, void (*callback)(zend_op *opline, int oplineno, void *data TSRMLS_DC), void *data TSRMLS_DC); 25 typedef void (*xc_foreach_early_binding_class_cb)(zend_op *opline, int oplineno, void *data TSRMLS_DC); 26 int xc_foreach_early_binding_class(zend_op_array *op_array, xc_foreach_early_binding_class_cb callback, void *data TSRMLS_DC); 28 27 29 28 /* installer */

