pike.git / src / pike_error.h

version» Context lines:

pike.git/src/pike_error.h:330:   #define SIMPLE_WRONG_NUM_ARGS_ERROR(FUNC, ARG) \    wrong_number_of_args_error (FUNC, args, ARG)   /* The following is for compatibility. */   #define SIMPLE_TOO_FEW_ARGS_ERROR(FUNC, ARG) \    wrong_number_of_args_error (FUNC, args, ARG)      PMOD_EXPORT extern const char msg_out_of_mem[];   PMOD_EXPORT extern const char msg_out_of_mem_2[];      #if 1 - static INLINE void DECLSPEC(noreturn) out_of_memory_error ( + static inline void DECLSPEC(noreturn) out_of_memory_error (    const char *func,    struct svalue *base_sp, int args,    size_t amount) ATTRIBUTE((noreturn)); - static INLINE void DECLSPEC(noreturn) out_of_memory_error ( + static inline void DECLSPEC(noreturn) out_of_memory_error (    const char *func,    struct svalue *base_sp, int args,    size_t amount)   {    resource_error (func, base_sp, args, "memory", amount,    amount ? msg_out_of_mem_2 : msg_out_of_mem, amount);   }   #else   #define out_of_memory_error(FUNC, BASE_SP, ARGS, AMOUNT) \    do { \