pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:100:   static char trace_buffer[2000];   #endif      #ifdef INTERNAL_PROFILING   PMOD_EXPORT unsigned long evaluator_callback_calls = 0;   #endif         int fast_check_threads_counter = 0;    - /* This is used for strapping the interpreter before the threads -  * are loaded, and when there's no support for threads. -  */ - static struct Pike_interpreter_struct static_pike_interpreter; -  - /* Pike_sp points to first unused value on stack -  * (much simpler than letting it point at the last used value.) -  */ - PMOD_EXPORT struct Pike_interpreter_struct *Pike_interpreter_pointer = -  &static_pike_interpreter; +    PMOD_EXPORT int Pike_stack_size = EVALUATOR_STACK_SIZE;      static void do_trace_call(INT32 args, dynamic_buffer *old_buf);   static void do_trace_func_return (int got_retval, struct object *o, int fun);   static void do_trace_return (int got_retval, dynamic_buffer *old_buf);      PMOD_EXPORT struct Pike_interpreter_struct * pike_get_interpreter_pointer()   {    return Pike_interpreter_pointer;   }