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.24 2002/11/25 00:25:48 mast Exp $ + || $Id: pike_error.h,v 1.25 2003/02/18 10:40:00 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:20: Inside #if 1
  #if 1   PMOD_EXPORT extern const char msg_fatal_error[];   #define Pike_fatal \    (fprintf(stderr,msg_fatal_error,__FILE__,__LINE__),debug_fatal)   #else   /* This is useful when debugging assembler code sometimes... -Hubbe */   #define Pike_fatal \    (fprintf(stderr,"%s: Fatal error:\n",__FILE__ ":" DEFINETOSTR(__LINE__) ),debug_fatal)   #endif    + #ifndef NO_PIKE_SHORTHAND + #define fatal Pike_fatal + #endif +    PMOD_EXPORT DECLSPEC(noreturn) void debug_fatal(const char *fmt, ...) ATTRIBUTE((noreturn,format (printf, 1, 2)));         #include "svalue.h"         typedef void (*error_call)(void *);      #ifndef STRUCT_FRAME_DECLARED   #define STRUCT_FRAME_DECLARED