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.80 2001/06/29 23:35:14 hubbe Exp $ +  * $Id: interpret.h,v 1.81 2001/07/02 20:32:54 mast 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:223:      #define SAFE_APPLY_MASTER(FUN,ARGS) \   do{ \    static int fun_, master_cnt=0; \    struct object *master_ob=master(); \    if(master_cnt != master_ob->prog->id) \    { \    fun_=find_identifier(FUN,master_ob->prog); \    master_cnt = master_ob->prog->id; \    } \ -  safe_apply_low(master_ob, fun_, ARGS); \ +  safe_apply_low2(master_ob, fun_, ARGS, 1); \   }while(0)      #define check_threads_etc() \    call_callback(& evaluator_callbacks, (void *)0)      #ifdef PIKE_DEBUG   #define fast_check_threads_etc(X) do { \    static int div_; if(d_flag || !(div_++& ((1<<(X))-1))) check_threads_etc(); } while(0)      #else
pike.git/src/interpret.h:259:   void dump_backlog(void);   BLOCK_ALLOC(pike_frame,128)      PMOD_EXPORT void find_external_context(struct external_variable_context *loc,    int arg2);   PMOD_EXPORT void mega_apply(enum apply_type type, INT32 args, void *arg1, void *arg2);   PMOD_EXPORT void f_call_function(INT32 args);   PMOD_EXPORT void call_handle_error(void);   PMOD_EXPORT int apply_low_safe_and_stupid(struct object *o, INT32 offset);   PMOD_EXPORT void safe_apply_low(struct object *o,int fun,int args); + PMOD_EXPORT void safe_apply_low2(struct object *o,int fun,int args, int handle_errors);   PMOD_EXPORT void safe_apply(struct object *o, char *fun ,INT32 args);   PMOD_EXPORT void safe_apply_handler(const char *fun,    struct object *handler,    struct object *compat,    INT32 args);   PMOD_EXPORT void apply_lfun(struct object *o, int fun, int args);   PMOD_EXPORT void apply_shared(struct object *o,    struct pike_string *fun,    int args);   PMOD_EXPORT void apply(struct object *o, char *fun, int args);