pike.git
/
src
/
error.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/error.c:666:
pop_n_elems(args); apply_current (generic_err_backtrace_fun, 0); break; default: index_error("error->`[]", Pike_sp-args, args, NULL, Pike_sp-args, "Index %"PRINTPIKEINT"d is out of range 0..1.\n", ind); break; } }
+
static void f_error__sizeof(INT32 args)
+
{
+
pop_n_elems(args);
+
push_int(2);
+
}
+
+
static void f_error__indices(INT32 args)
+
{
+
pop_n_elems(args);
+
push_int(0);
+
push_int(1);
+
f_aggregate(2);
+
}
+
+
static void f_error__values(INT32 args)
+
{
+
pop_n_elems(args);
+
apply_current(generic_err_message_fun, 0);
+
apply_current(generic_err_backtrace_fun, 0);
+
f_aggregate(2);
+
}
+
/*! @decl string describe() *! *! Return a readable error report that includes the backtrace. */ static void f_error_describe(INT32 args) { pop_n_elems(args); ref_push_object(Pike_fp->current_object); APPLY_MASTER("describe_backtrace",1); }