pike.git / src / interpret.h

version» Context lines:

pike.git/src/interpret.h:201: Inside #if defined(__CHECKER__)
     #ifdef __CHECKER__   #define SET_SVAL_TYPE_CHECKER(S,T) SET_SVAL_TYPE_SUBTYPE(S,T,0)   #else   #define SET_SVAL_TYPE_CHECKER(S,T) SET_SVAL_TYPE_DC(S,T)   #endif      #define pop_stack() do{ free_svalue(--Pike_sp); debug_check_stack(); }while(0)   #define pop_2_elems() do { pop_stack(); pop_stack(); }while(0)    - #ifdef __ECL - #define MAYBE_CAST_TO_LONG(X) (X) - #else /* !__ECL */ - #define MAYBE_CAST_TO_LONG(X) ((long)(X)) - #endif /* __ECL */ -  +    PMOD_EXPORT extern const char msg_pop_neg[];   #define pop_n_elems(X) \    do { \    ptrdiff_t x_=(X); \    if(x_) { \    struct svalue *_sp_; \    check__positive(x_, (msg_pop_neg, x_)); \    _sp_ = Pike_sp = Pike_sp - x_; \    debug_check_stack(); \    free_mixed_svalues(_sp_, x_); \
pike.git/src/interpret.h:819:   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);   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_struct *interpreter);   void really_clean_up_interpret(void);   /* Prototypes end here */    - /* These need to be after the prototypes, -  * to avoid implicit declaration of mega_apply(). -  */ - #ifdef __ECL - static inline void apply_low(struct object *o, ptrdiff_t fun, INT32 args) - { -  mega_apply_low(args, (void*)o, fun); - } -  - static inline void strict_apply_svalue(struct svalue *sval, INT32 args) - { -  mega_apply(APPLY_SVALUE_STRICT, args, (void*)sval, 0); - } - #else /* !__ECL */ +    #define apply_low(O,FUN,ARGS) \    mega_apply_low((ARGS), (void*)(O),(FUN))      #define strict_apply_svalue(SVAL,ARGS) \    mega_apply(APPLY_SVALUE, (ARGS), (void*)(SVAL),0) - #endif /* __ECL */ +       #define apply_current(FUN, ARGS) \    apply_low(Pike_fp->current_object, \    (FUN) + Pike_fp->context->identifier_level, \    (ARGS))      #define safe_apply_current(FUN, ARGS) \    safe_apply_low(Pike_fp->current_object, \    (FUN) + Pike_fp->context->identifier_level, \    (ARGS))