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.25 2003/02/18 10:40:00 mast Exp $ + || $Id: pike_error.h,v 1.26 2003/03/28 18:18:48 mast Exp $   */      #ifndef PIKE_ERROR_H   #define PIKE_ERROR_H      #include "machine.h"      #ifdef HAVE_SETJMP_H   #include <setjmp.h>   #undef HAVE_SETJMP_H
pike.git/src/pike_error.h:265:         PMOD_EXPORT extern const char msg_bad_arg[];   #define SIMPLE_BAD_ARG_ERROR(FUNC, ARG, EXPECT) \    bad_arg_error(FUNC, Pike_sp-args, args, ARG, EXPECT, Pike_sp+ARG-1-args,\    msg_bad_arg, ARG, FUNC, EXPECT)      PMOD_EXPORT extern const char msg_too_few_args[];   #define SIMPLE_TOO_FEW_ARGS_ERROR(FUNC, ARG) \    bad_arg_error(FUNC, Pike_sp-args, args, ARG, "void", 0,\ -  msg_too_few_args,FUNC) +  msg_too_few_args,FUNC, ARG)    -  + PMOD_EXPORT extern const char msg_wrong_num_args[]; + #define SIMPLE_WRONG_NUM_ARGS_ERROR(FUNC, ARG) \ +  bad_arg_error(FUNC, Pike_sp-args, args, ARG, "void", 0,\ +  msg_wrong_num_args,FUNC, ARG) +    PMOD_EXPORT extern const char msg_out_of_mem[];   #define SIMPLE_OUT_OF_MEMORY_ERROR(FUNC, AMOUNT) \    resource_error(FUNC, Pike_sp-args, args, "memory", AMOUNT, msg_out_of_mem)      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   #define check_recovery_context() ((void)0)