pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:1:   /* -*- c -*- -  * $Id: builtin.cmod,v 1.61 2001/07/26 15:21:08 nilsson Exp $ +  * $Id: builtin.cmod,v 1.62 2001/08/14 22:21:16 nilsson Exp $    */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "opcodes.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"
pike.git/src/builtin.cmod:740:    push_svalue(&k->val);    f_aggregate(2);    stack_swap();    pop_stack();   }      /*    * Backtrace handling.    */    + /*! @module Pike +  */ +    /*! @class BacktraceFrame    */      PIKECLASS backtrace_frame   {    PIKEVAR mixed fun;    PIKEVAR array args;    CVAR struct program *prog; /* FIXME: Ought to be a private pikevar... */    CVAR unsigned char *pc;    CVAR struct pike_string *filename;
pike.git/src/builtin.cmod:1023:    }    stack_swap();    pop_stack();    }      };      /*! @endclass    */    - /*! @decl array(array) backtrace() + /*! @endmodule +  */ +  + /*! @decl array(Pike.BacktraceFrame) backtrace()    *! -  +  *! FIXME: This documentation is not up to date! +  *!    *! Get a description of the current call stack.    *!    *! The description is returned as an array with one entry for each call    *! frame on the stack.    *!    *! Each entry has this format:    *! @array    *! @elem string file    *! A string with the filename if known, else zero.    *! @elem int line