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.31 2003/04/02 00:56:45 mast Exp $ + || $Id: pike_error.h,v 1.32 2003/07/30 17:16:31 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:202:      #define CALL_AND_UNSET_ONERROR(X) do { \    X.func(X.arg); \    UNSET_ONERROR(X); \    }while(0)      #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__); + #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); + #define PIKE_ERROR(NAME, TEXT, SP, ARGS) new_error(NAME, TEXT, SP, ARGS, NULL, 0)   #endif /* PIKE_DEBUG */      /* Prototypes begin here */   PMOD_EXPORT void check_recovery_context(void);   PMOD_EXPORT void pike_gdb_breakpoint(INT32 args);   PMOD_EXPORT JMP_BUF *init_recovery(JMP_BUF *r, size_t stack_pop_levels DEBUG_LINE_ARGS);   PMOD_EXPORT DECLSPEC(noreturn) void pike_throw(void) ATTRIBUTE((noreturn));   PMOD_EXPORT void push_error(const char *description);   PMOD_EXPORT DECLSPEC(noreturn) void low_error(const char *buf) ATTRIBUTE((noreturn));   void DECLSPEC(noreturn) va_error(const char *fmt, va_list args) ATTRIBUTE((noreturn));