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.26 1999/01/21 09:15:00 hubbe Exp $ +  * $Id: error.h,v 1.27 1999/01/31 09:01:46 hubbe Exp $    */   #ifndef ERROR_H   #define ERROR_H      #include "machine.h"      #ifdef HAVE_SETJMP_H   #include <setjmp.h>   #undef HAVE_SETJMP_H   #endif      #include <stdarg.h>      #include "svalue.h"         typedef void (*error_call)(void *);      #ifndef STRUCT_FRAME_DECLARED   #define STRUCT_FRAME_DECLARED - struct frame; + struct pike_frame;   #endif      #define THROW_ERROR 10   #define THROW_THREAD_EXIT 20   #define THROW_THREAD_KILLED 30   #define THROW_EXIT 40   #define THROW_MAX_SEVERITY 100      #ifdef ONERROR_DEBUG   #define OED_FPRINTF(X) fprintf X
pike.git/src/error.h:53:   } ONERROR;      typedef struct JMP_BUF   {   #ifdef PIKE_DEBUG    int line;    char *file;   #endif    struct JMP_BUF *previous;    jmp_buf recovery; -  struct frame *fp; +  struct pike_frame *fp;    INT32 sp;    INT32 mark_sp;    INT32 severity;    ONERROR *onerror;   } JMP_BUF;      extern JMP_BUF *recoveries;   extern struct svalue throw_value;   extern int throw_severity;