pike.git / src / interpret.h

version» Context lines:

pike.git/src/interpret.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: interpret.h,v 1.45 2000/07/07 00:21:48 hubbe Exp $ +  * $Id: interpret.h,v 1.46 2000/07/07 00:51:40 hubbe Exp $    */   #ifndef INTERPRET_H   #define INTERPRET_H      #include "global.h"   #include "program.h"   #include "error.h"      struct Pike_interpreter {    /* Swapped variables */    struct svalue *stack_pointer;    struct svalue *evaluator_stack;    struct svalue **mark_sp;    struct svalue **mark_stack;    struct pike_frame *frame_pointer;    int evaluator_stack_malloced;    int mark_stack_malloced;    JMP_BUF *recoveries; -  + #ifdef PIKE_THREADS    struct object * thread_id; -  + #endif    char *stack_top;    DO_IF_SECURITY(struct object *current_creds;)      #ifdef PROFILING   #ifdef HAVE_GETHRTIME    long long accounted_time;    long long time_base;   #endif   #endif   
pike.git/src/interpret.h:239:      extern int Pike_stack_size;   struct callback;   extern struct callback_list evaluator_callbacks;   extern void call_callback(struct callback_list *, void *);      extern struct Pike_interpreter Pike_interpreter;      #define Pike_sp Pike_interpreter.stack_pointer   #define Pike_fp Pike_interpreter.frame_pointer + #ifdef PIKE_THREADS + #define Pike_thread_id Pike_interpreter.thread_id + #endif    -  +    #ifndef NO_PIKE_SHORTHAND      /* Shouldn't this be in Pike_interpreter? - Hubbe */   #define stack_size Pike_stack_size   #define sp Pike_sp   #define fp Pike_fp      #endif /* !NO_PIKE_SHORTHAND */      #define CURRENT_STORAGE (dmalloc_touch(struct pike_frame *,Pike_fp)->current_storage)      #endif