pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:1087:   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, enum LFUN lfun) {   #ifdef PIKE_DEBUG    dmalloc_touch(struct program*, p); -  if (lfun < 0) return find_lfun_fatal(p, lfun); +  if ((int)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) \    low_quick_add_function(__builtin_constant_p(NAME) \    ? make_shared_static_string(NAME, NLEN, eightbit) \    : make_shared_binary_string(NAME, NLEN), \    FUNC, TYPE, TLEN, FLAGS, OPT)