pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:1079:    size_t howmuch_,    const char *desc, ...) ATTRIBUTE((noreturn))   {    INT_TYPE howmuch = (INT_TYPE)howmuch_;    INIT_ERROR(resource);    ERROR_COPY(resource, howmuch);    ERROR_STRUCT(resource,o)->resource_type=make_shared_string(resource_type);    ERROR_DONE(generic);   }    + PMOD_EXPORT DECLSPEC(noreturn) void 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); + } +    /* coverity[+kill] */   PMOD_EXPORT DECLSPEC(noreturn) void permission_error(    const char *func,    struct svalue *base_sp, int args,    const char *permission_type,    const char *desc, ...) ATTRIBUTE((noreturn))   {    INIT_ERROR(permission);    ERROR_STRUCT(permission,o)->permission_type=    make_shared_string(permission_type);