pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:97:   #define LFUN__IS_TYPE 39   #define LFUN__SPRINTF 40   #define LFUN__EQUAL 41   #define LFUN__M_DELETE 42   #define LFUN__GET_ITERATOR 43   #define LFUN_RANGE 44      #define NUM_LFUNS 45      /* NOTE: After this point there are only fake lfuns. -  * ie use low_find_lfun(), and NOT FIND_LFUN()! +     */   #define LFUN__SEARCH 45   #define LFUN__TYPES 46   #define LFUN__SERIALIZE 47   #define LFUN__DESERIALIZE 48   #define LFUN__SIZE_OBJECT 49   #define LFUN__RANDOM 50      extern const char *const lfun_names[];   
pike.git/src/program.h:1062:   void string_builder_explain_not_implements(struct string_builder *s,    struct program *a,    struct program *b);   PMOD_EXPORT void *parent_storage(int depth);   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 */      static INLINE int FIND_LFUN(struct program * p, int lfun) { + #ifdef PIKE_DEBUG    dmalloc_touch(struct program*, p); -  if (lfun < 0 || lfun >= NUM_LFUNS) return find_lfun_fatal(p, lfun); -  -  if (p->flags & PROGRAM_FIXED) return p->lfuns[lfun]; +  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);   }         #ifndef PIKE_USE_MACHINE_CODE   #define make_program_executable(X)   #endif      #define ADD_FUNCTION(NAME, FUNC, TYPE, FLAGS) \    quick_add_function(NAME, CONSTANT_STRLEN(NAME), FUNC, TYPE,\