pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:875:   #define ERROR_COPY_SVALUE(STRUCT,X) do { \    if (X) { \    assign_svalue_no_free( & ERROR_STRUCT(STRUCT,o)->X, X); \    } else { \    SET_SVAL(ERROR_STRUCT(STRUCT, o)->X, PIKE_T_INT, NUMBER_UNDEFINED, \    integer, 0); \    } \    } while (0)       - #define ERROR_COPY_REF(STRUCT,X) \ -  add_ref( ERROR_STRUCT(STRUCT,o)->X=X ) -  -  +    /* This prepares the passed object o, which is assumed to inherit    * generic_error_program, and throws it:    *    * o A backtrace is assigned to error_backtrace.    *    * o If func is specified, a frame is constructed for at the end of    * backtrace using it as function name and base_sp[0..args-1] as    * arguments.    *    * o If fmt is specified, an error message is created from it and