pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:192:   {    RETURN implements(prog, api);   }      //! 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(child, parent); +  RETURN !!low_get_storage(parent, child);   }      //! 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.   //!