Branch: Tag:

2001-08-15

2001-08-15 22:18:00 by Martin Stjernholm <mast@lysator.liu.se>

Added throw_error_object to throw any error object that inherits
generic_error_program.

Rev: src/error.c:1.74
Rev: src/pike_error.h:1.13

5:   \*/      /* -  * $Id: pike_error.h,v 1.12 2001/07/02 20:09:18 mast Exp $ +  * $Id: pike_error.h,v 1.13 2001/08/15 22:18:00 mast Exp $    */   #ifndef PIKE_ERROR_H   #define PIKE_ERROR_H
203:    char *fmt,    va_list foo)    ATTRIBUTE((noreturn)); + PMOD_EXPORT DECLSPEC(noreturn) void throw_error_object( +  struct object *o, +  char *func, +  struct svalue *base_sp, int args, +  char *desc, ...) ATTRIBUTE((noreturn,format (printf, 5, 6)));   PMOD_EXPORT void DECLSPEC(noreturn) generic_error(    char *func,    struct svalue *base_sp, int args,