Branch: Tag:

2016-01-12

2016-01-12 18:09:27 by Per Hedbor <ph@opera.com>

inline is part of c99

We do have.. excessive amounts of inline, incidentally. :)

648:      PMOD_EXPORT void dump_program_tables (const struct program *p, int indent);   #ifdef PIKE_DEBUG - static INLINE int PIKE_UNUSED_ATTRIBUTE CHECK_IDREF_RANGE (int x, const struct program *p) + static inline int PIKE_UNUSED_ATTRIBUTE CHECK_IDREF_RANGE (int x, const struct program *p)   {    if (x < 0 || x >= p->num_identifier_references) {    dump_program_tables(p, 4);
1076:   void make_program_executable(struct program *p);   /* Prototypes end here */    - static INLINE int PIKE_UNUSED_ATTRIBUTE FIND_LFUN(struct program * p, int lfun) { + 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);