pike.git / src / interpret.h

version» Context lines:

pike.git/src/interpret.h:782:   #endif   #endif /* PIKE_USE_MACHINE_CODE */      PMOD_EXPORT void find_external_context(struct external_variable_context *loc,    int arg2);   void really_free_pike_scope(struct pike_frame *scope);   int low_mega_apply(enum apply_type type, INT32 args, void *arg1, void *arg2);   void low_return(void);   void low_return_pop(void);   void unlink_previous_frame(void); + int apply_low_safe_and_stupid(struct object *o, INT32 offset); +    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 int safe_apply_low(struct object *o,int fun,int args);   PMOD_EXPORT int safe_apply_low2(struct object *o,int fun,int args,    const char *fun_name);   PMOD_EXPORT int safe_apply(struct object *o, const char *fun ,INT32 args); - PMOD_EXPORT int low_unsafe_apply_handler(const char *fun, + int low_unsafe_apply_handler(const char *fun,    struct object *handler,    struct object *compat,    INT32 args); - PMOD_EXPORT void low_safe_apply_handler(const char *fun, + void low_safe_apply_handler(const char *fun,    struct object *handler,    struct object *compat,    INT32 args);   PMOD_EXPORT int safe_apply_handler(const char *fun,    struct object *handler,    struct object *compat,    INT32 args,    TYPE_FIELD rettypes);   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, const char *fun, int args);   PMOD_EXPORT void apply_svalue(struct svalue *s, INT32 args);   PMOD_EXPORT void safe_apply_svalue (struct svalue *s, INT32 args, int handle_errors);   PMOD_EXPORT void apply_external(int depth, int fun, INT32 args); - PMOD_EXPORT void slow_check_stack(void); + void slow_check_stack(void);   PMOD_EXPORT void custom_check_stack(ptrdiff_t amount, const char *fmt, ...)    ATTRIBUTE((format (printf, 2, 3)));   PMOD_EXPORT void cleanup_interpret(void);   PMOD_EXPORT void low_cleanup_interpret(struct Pike_interpreter *interpreter);   void really_clean_up_interpret(void);   /* Prototypes end here */      /* These need to be after the prototypes,    * to avoid implicit declaration of mega_apply().    */
pike.git/src/interpret.h:858:    (ARGS))      #define safe_apply_current2(FUN, ARGS, FUNNAME) \    safe_apply_low2(Pike_fp->current_object, \    (FUN) + Pike_fp->context->identifier_level, \    (ARGS), (FUNNAME))      PMOD_EXPORT extern int d_flag; /* really in main.c */      PMOD_EXPORT extern int Pike_stack_size; - PMOD_EXPORT struct callback; + struct callback;   PMOD_EXPORT extern struct callback_list evaluator_callbacks;      /* 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.    *