pike.git / src / pike_error.h

version» Context lines:

pike.git/src/pike_error.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: pike_error.h,v 1.40 2007/06/16 23:52:52 mast Exp $ + || $Id: pike_error.h,v 1.41 2007/07/03 08:54:37 mast Exp $   */      #ifndef PIKE_ERROR_H   #define PIKE_ERROR_H      #include <stdarg.h>      #ifdef CONFIGURE_TEST      #include <stdio.h>
pike.git/src/pike_error.h:332:   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 (    const char *func,    struct svalue *base_sp, int args,    size_t amount)   {    resource_error (func, base_sp, args, "memory", amount, -  msg_out_of_mem_2, amount); +  amount ? msg_out_of_mem_2 : msg_out_of_mem, amount);   }      #define SIMPLE_OUT_OF_MEMORY_ERROR(FUNC, AMOUNT) \    out_of_memory_error(FUNC, Pike_sp-args, args, AMOUNT)      PMOD_EXPORT extern const char msg_div_by_zero[];   #define SIMPLE_DIVISION_BY_ZERO_ERROR(FUNC) \    math_error(FUNC, Pike_sp-args, args, 0, msg_div_by_zero)      #ifndef PIKE_DEBUG