Branch: Tag:

2011-05-02

2011-05-02 01:51:10 by Per Hedbor <ph@opera.com>

Fewer PMOD_EXPORT.

2337:   }      /* NOTE: This function may only be called from the compiler! */ - PMOD_EXPORT int apply_low_safe_and_stupid(struct object *o, INT32 offset) + int apply_low_safe_and_stupid(struct object *o, INT32 offset)   {    JMP_BUF tmp;    struct pike_frame *new_frame=alloc_pike_frame();
2442:    return ret;   }    - PMOD_EXPORT int safe_apply_low2(struct object *o, int fun, int args, + int safe_apply_low2(struct object *o, int fun, int args,    const char *fun_name)   {    JMP_BUF recovery;
2486:   }      /* Returns nonzero if the function was called in some handler. */ - 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)
2515:    return 1;   }    - 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)
2730: Inside #if defined(PIKE_DEBUG)
   }    }   } - #endif +     -  +    static const char *safe_idname_from_int(struct program *prog, int func)   {    /* ID_FROM_INT with a thick layer of checks. */
2987:    gdb_backtrace();   #endif   } + #endif      PMOD_EXPORT void custom_check_stack(ptrdiff_t amount, const char *fmt, ...)   {