pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:14:   #include "array.h"   #include "object.h"   #include "main.h"   #include "builtin_functions.h"   #include "backend.h"   #include "operators.h"   #include "module_support.h"   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.56 2000/07/28 17:16:54 hubbe Exp $"); + RCSID("$Id: error.c,v 1.57 2000/08/10 09:51:51 per Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)         #ifdef PIKE_DEBUG   PMOD_EXPORT void check_recovery_context(void)   {    char foo;   #define TESTILITEST ((((char *)Pike_interpreter.recoveries)-((char *)&foo))*STACK_DIRECTION)
pike.git/src/error.c:325:    ref_push_string(GENERIC_ERROR_THIS->desc);    ref_push_array(GENERIC_ERROR_THIS->backtrace);    f_aggregate(2);    }else{    SIMPLE_BAD_ARG_ERROR("error->cast", 1, "the value \"array\"");    }   }      void f_error_index(INT32 args)   { -  int ind; +  INT_TYPE ind;    get_all_args("error->`[]",args,"%i",&ind);       switch(ind)    {    case 0:    pop_n_elems(args);    ref_push_string(GENERIC_ERROR_THIS->desc);    break;    case 1:    pop_n_elems(args);