pike.git / src / error.h

version» Context lines:

pike.git/src/error.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: error.h,v 1.41 2000/04/20 02:41:44 hubbe Exp $ +  * $Id: error.h,v 1.42 2000/05/25 02:18:35 hubbe Exp $    */   #ifndef ERROR_H   #define ERROR_H      #include "machine.h"      #ifdef HAVE_SETJMP_H   #include <setjmp.h>   #undef HAVE_SETJMP_H   #endif
pike.git/src/error.h:163: Inside #if defined(PIKE_DEBUG) && 0
  /* Works, but probably not interresting for most people    * /grubba 1998-04-11    */   #define PIKE_ERROR(NAME, TEXT, SP, ARGS) new_error(NAME, TEXT, SP, ARGS, __FILE__, __LINE__);   #else   #define PIKE_ERROR(NAME, TEXT, SP, ARGS) new_error(NAME, TEXT, SP, ARGS, NULL, 0);   #endif /* PIKE_DEBUG */      /* Prototypes begin here */   void check_recovery_context(void); + void pike_gdb_breakpoint(void);   JMP_BUF *init_recovery(JMP_BUF *r DEBUG_LINE_ARGS);   void pike_throw(void) ATTRIBUTE((noreturn));   void push_error(char *description);   void low_error(char *buf) ATTRIBUTE((noreturn));   void va_error(const char *fmt, va_list args) ATTRIBUTE((noreturn));   void new_error(const char *name, const char *text, struct svalue *oldsp,    INT32 args, const char *file, int line) ATTRIBUTE((noreturn));   void exit_on_error(void *msg);   void fatal_on_error(void *msg);   void error(const char *fmt,...) ATTRIBUTE((noreturn,format (printf, 1, 2)));
pike.git/src/error.h:217:    char *func,    struct svalue *base_sp, int args,    char *resource_type,    long howmuch,    char *desc, ...) ATTRIBUTE((noreturn,format (printf, 6, 7)));   void permission_error(    char *func,    struct svalue *base_sp, int args,    char *permission_type,    char *desc, ...) ATTRIBUTE((noreturn, format(printf, 5, 6))); + void wrong_number_of_args_error(char *name, int args, int expected);   void init_error(void);   void cleanup_error(void);   /* Prototypes end here */      #define fatal \    fprintf(stderr,"%s:%d: Fatal error:\n",__FILE__,__LINE__),debug_fatal      /* Some useful error macros. */      #define SIMPLE_BAD_ARG_ERROR(FUNC, ARG, EXPECT) \