Changeset 990


Ignore:
Timestamp:
2012-07-18T09:01:59+02:00 (21 months ago)
Author:
moo
Message:

split trace

Location:
trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/config.m4

    r987 r990  
    2626  xcache_sources=" 
    2727                  util/xc_stack.c \ 
     28                  util/xc_trace.c \ 
    2829                  xcache.c \ 
    2930                  xcache/xc_const_string.c \ 
  • trunk/config.w32

    r987 r990  
    1414    var xcache_sources = " 
    1515                          util/xc_stack.c \ 
     16                          util/xc_trace.c \ 
    1617                          xcache.c \ 
    1718                          xcache/xc_const_string.c \ 
  • trunk/util/xc_stack.c

    r982 r990  
    11#include <stdlib.h> 
    2 #include <assert.h> 
     2#include "xc_trace.h" 
    33#include "xc_stack.h" 
     4 
    45typedef xc_stack_t* S; 
    56 
  • trunk/xcache/xc_sandbox.c

    r989 r990  
    433433/* }}} */ 
    434434#endif 
    435  
    436 int xc_vtrace(const char *fmt, va_list args) /* {{{ */ 
    437 { 
    438     return vfprintf(stderr, fmt, args); 
    439 } 
    440 /* }}} */ 
    441 int xc_trace(const char *fmt, ...) /* {{{ */ 
    442 { 
    443     va_list args; 
    444     int ret; 
    445  
    446     va_start(args, fmt); 
    447     ret = xc_vtrace(fmt, args); 
    448     va_end(args); 
    449     return ret; 
    450 } 
    451 /* }}} */ 
    452435 
    453436#ifndef ZEND_ENGINE_2_3 
  • trunk/xcache/xc_utils.c

    r987 r990  
    77#endif 
    88#include "xc_opcode_spec.h" 
    9 #undef NDEBUG 
    10 #include "assert.h" 
     9#include "../util/xc_trace.h" 
    1110 
    1211#ifndef max 
  • trunk/xcache/xc_utils.h

    r987 r990  
    4141#endif 
    4242 
    43 void xc_zend_class_add_ref(zend_class_entry ZESW(*ce, **ce)); 
    44  
    4543typedef zend_bool (*xc_if_func_t)(void *data); 
    4644 
Note: See TracChangeset for help on using the changeset viewer.