Changeset 1016 in svn


Ignore:
Timestamp:
2012-07-20T08:58:03+02:00 (3 years ago)
Author:
Xuefer
Message:

refactor: clean up

Location:
trunk/xcache
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_utils.c

    r1003 r1016  
    5151/* }}} */
    5252
    53 int xc_apply_function(zend_function *zf, apply_func_t applyer TSRMLS_DC) /* {{{ */
     53static int xc_apply_function(zend_function *zf, apply_func_t applyer TSRMLS_DC) /* {{{ */
    5454{
    5555    switch (zf->type) {
     
    9898/* }}} */
    9999#if 0
    100 int xc_apply_class(zend_class_entry *ce, apply_func_t applyer TSRMLS_DC) /* {{{ */
     100static int xc_apply_class(zend_class_entry *ce, apply_func_t applyer TSRMLS_DC) /* {{{ */
    101101{
    102102    xc_apply_method_info mi;
     
    339339/* }}} */
    340340
    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) /* {{{ */
     341int xc_foreach_early_binding_class(zend_op_array *op_array, xc_foreach_early_binding_class_cb callback, void *data TSRMLS_DC) /* {{{ */
    342342{
    343343    zend_op *opline, *begin, *opline_end, *next = NULL;
  • trunk/xcache/xc_utils.h

    r1006 r1016  
    1515xc_compile_result_t *xc_compile_result_init_cur(xc_compile_result_t *cr, zend_op_array *op_array TSRMLS_DC);
    1616/* 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);
    1917int xc_apply_op_array(xc_compile_result_t *cr, apply_func_t applyer TSRMLS_DC);
    2018
     
    2523zend_uchar xc_get_fixed_opcode(zend_uchar opcode, int line);
    2624
    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);
     25typedef void (*xc_foreach_early_binding_class_cb)(zend_op *opline, int oplineno, void *data TSRMLS_DC);
     26int xc_foreach_early_binding_class(zend_op_array *op_array, xc_foreach_early_binding_class_cb callback, void *data TSRMLS_DC);
    2827
    2928/* installer */
Note: See TracChangeset for help on using the changeset viewer.