pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:212:    *!    *! Returns 1 if @[child] has inherited @[parent].    */   PIKEFUN int program_inherits(program child, program parent)    errname Program.inherits;    optflags OPT_TRY_OPTIMIZE;   {    RETURN !!low_get_storage(parent, child);   }    - /*! @decl string program defined(program p) + /*! @decl string program_defined(program p)    *!    *! Returns a string with filename and linenumber describing where    *! the program @[p] was defined.    *!    *! The returned string is of the format @tt{"@i{filename@}:@i{linenumber@}"@}.    *!    *! If it cannot be determined where the program was defined, @tt{0@} (zero)    *! will be returned.    */   PIKEFUN string program_defined(program p)