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.79 2001/06/11 16:43:55 grubba Exp $ +  * $Id: interpret.h,v 1.80 2001/06/29 23:35:14 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:80:   #include "pike_error.h"   #else   #define check__positive(X,Y)   #define debug_check_stack()   #endif      #define low_stack_check(X) \    (Pike_sp - Pike_interpreter.evaluator_stack + \    Pike_interpreter.svalue_stack_margin + (X) >= Pike_stack_size)    - PMOD_EXPORT const char *Pike_check_stack_errmsg; + extern const char *Pike_check_stack_errmsg;      #define check_stack(X) do { \    if(low_stack_check(X)) \    ((void (*)(const char *, ...))Pike_error)( \    Pike_check_stack_errmsg, \    PTRDIFF_T_TO_LONG(Pike_sp - Pike_interpreter.evaluator_stack), \    PTRDIFF_T_TO_LONG(Pike_stack_size), \    PTRDIFF_T_TO_LONG(X)); \    }while(0)    - PMOD_EXPORT const char *Pike_check_mark_stack_errmsg; + extern const char *Pike_check_mark_stack_errmsg;      #define check_mark_stack(X) do { \    if(Pike_mark_sp - Pike_interpreter.mark_stack + (X) >= Pike_stack_size) \    ((void (*)(const char*, ...))Pike_error)(Pike_check_mark_stack_errmsg); \    }while(0)    - PMOD_EXPORT const char *Pike_check_c_stack_errmsg; + extern const char *Pike_check_c_stack_errmsg;      #define check_c_stack(X) do { \    ptrdiff_t x_= ((char *)&x_) + \    STACK_DIRECTION * (Pike_interpreter.c_stack_margin + (X)) - \    Pike_interpreter.stack_top ; \    x_*=STACK_DIRECTION; \    if(x_>0) \    ((void (*)(const char*, ...))low_error)(Pike_check_c_stack_errmsg); \    }while(0)