pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c: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: interpret.c,v 1.283 2002/11/24 22:47:06 mast Exp $ + || $Id: interpret.c,v 1.284 2002/12/07 16:14:37 grubba Exp $   */      #include "global.h" - RCSID("$Id: interpret.c,v 1.283 2002/11/24 22:47:06 mast Exp $"); + RCSID("$Id: interpret.c,v 1.284 2002/12/07 16:14:37 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"   #include "language.h"   #include "stralloc.h"   #include "constants.h"
pike.git/src/interpret.c:1589:      /*! @decl mixed call_function(function fun, mixed ... args)    *!    *! Call a function.    */   PMOD_EXPORT void f_call_function(INT32 args)   {    mega_apply(APPLY_STACK,args,0,0);   }    + /*! @class MasterObject +  */ +  + /*! @decl void handle_error(mixed exception) +  *! +  *! Called by the Pike runtime if an exception isn't caught. +  *! +  *! @param +  *! Value that was @[throw()]'n. +  *! +  *! @seealso +  *! @[describe_backtrace()] +  */ +  + /*! @endclass +  */ +    PMOD_EXPORT void call_handle_error(void)   {    dmalloc_touch_svalue(&throw_value);    if (Pike_interpreter.svalue_stack_margin) {    ONERROR tmp;    int old_t_flag = t_flag;    t_flag = 0;    Pike_interpreter.svalue_stack_margin = 0;    Pike_interpreter.c_stack_margin = 0;    SET_ONERROR(tmp,exit_on_error,"Error in handle_error in master object!");