Branch: Tag:

2003-02-18

2003-02-18 10:40:00 by Martin Stjernholm <mast@lysator.liu.se>

Added Pike shorthand alias fatal -> Pike_fatal to facilitate source
compatibility for third party modules.

Rev: src/pike_error.h:1.25

2:   || 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
27:    (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)));