pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:1016:    *! The returned string is of the format @expr{"filename:linenumber"@}.    *!    *! If it cannot be determined where the program was defined, @expr{0@}    *! (zero) will be returned.    */   PMOD_EXPORT   PIKEFUN string program_defined(program p)    errname Program.defined;    optflags OPT_TRY_OPTIMIZE;   { -  INT32 line; +  INT_TYPE line;    struct pike_string *tmp = low_get_program_line(p, &line);       pop_n_elems(args);       if (tmp) {    push_string(tmp);    if(line >= 1)    {    push_constant_text(":");    push_int(line);
pike.git/src/builtin.cmod:1700:    PIKEVAR array args;       /* These are cleared when filename and lineno have been initialized    * from them. */    PIKEVAR program prog flags ID_PROTECTED|ID_PRIVATE;    CVAR PIKE_OPCODE_T *pc;       /* These two are considered to be uninitialized from prog, pc and    * fun as long as lineno == -1. */    CVAR struct pike_string *filename; -  CVAR INT32 lineno; +  CVAR INT_TYPE lineno;       INIT    {    THIS->pc = NULL;    THIS->lineno = -1;    THIS->filename = NULL;    }       EXIT    gc_trivial;