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.99 2001/08/19 03:30:10 hubbe Exp $ +  * $Id: interpret.h,v 1.100 2001/08/30 22:35:22 hubbe Exp $    */   #ifndef INTERPRET_H   #define INTERPRET_H      #include "global.h"   #include "program.h"   #include "pike_error.h"      struct Pike_interpreter {    /* Swapped variables */
pike.git/src/interpret.h:406:      #define strict_apply_svalue(SVAL,ARGS) \    mega_apply(APPLY_SVALUE, (ARGS), (void*)(SVAL),0)   #endif /* __ECL */      PMOD_EXPORT extern int d_flag; /* really in main.c */      PMOD_EXPORT extern int Pike_stack_size;   PMOD_EXPORT struct callback;   PMOD_EXPORT extern struct callback_list evaluator_callbacks; - PMOD_EXPORT extern void call_callback(struct callback_list *, void *); +       /* Things to try:    * we could reduce thread swapping to a pointer operation if    * we do something like:    * #define Pike_interpreter (*Pike_interpreter_pointer)    *    * Since global variables are usually accessed through indirection    * anyways, it might not make any speed differance.    *    * The above define could also be used to facilitate dynamic loading