pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:1074:   void string_builder_explain_not_implements(struct string_builder *s,    struct program *a,    struct program *b);   PMOD_EXPORT void *parent_storage(int depth, struct program *expected);   PMOD_EXPORT void *get_inherited_storage(int inh, struct program *expected);   PMOD_EXPORT void change_compiler_compatibility(int major, int minor);   void make_area_executable (char *start, size_t len);   void make_program_executable(struct program *p);   /* Prototypes end here */    + /** +  * Look up the given lfun in the given program and returns the +  * function number it has in the program, or -1 if not found. +  */   static inline int PIKE_UNUSED_ATTRIBUTE FIND_LFUN(struct program * p, int lfun) {   #ifdef PIKE_DEBUG    dmalloc_touch(struct program*, p);    if (lfun < 0) return find_lfun_fatal(p, lfun);   #endif    if (p->flags & PROGRAM_FIXED && lfun < NUM_LFUNS) return p->lfuns[lfun];    return low_find_lfun(p, lfun);   }      #define quick_add_function(NAME, NLEN, FUNC, TYPE, TLEN, FLAGS, OPT) \