2016-01-12
2016-01-12 18:09:27 by Per Hedbor <ph@opera.com>
-
01b9216dc7703fe549b03c4a7fa322d3f6af6371
(9 lines)
(+5/-4)
[
Show
| Annotate
]
Branch: 8.1
inline is part of c99
We do have.. excessive amounts of inline, incidentally. :)
517: Inside #if defined(PIKE_DEBUG)
#ifdef PIKE_DEBUG
- INLINE void pike_trace(int level,char *fmt, ...) ATTRIBUTE((format (printf, 2, 3)));
- INLINE void pike_trace(int level,char *fmt, ...)
+ inline void pike_trace(int level,char *fmt, ...) ATTRIBUTE((format (printf, 2, 3)));
+ inline void pike_trace(int level,char *fmt, ...)
{
if(Pike_interpreter.trace_level > level)
{
859:
struct backlog backlog[BACKLOG];
int backlogp=BACKLOG-1;
- static INLINE void low_debug_instr_prologue (PIKE_INSTR_T instr)
+ static inline void low_debug_instr_prologue (PIKE_INSTR_T instr)
{
if(Pike_interpreter.trace_level > 2)
{
1751:
#undef eval_instruction
- static INLINE int eval_instruction(unsigned char *pc)
+ static inline int eval_instruction(unsigned char *pc)
{
if(d_flag || Pike_interpreter.trace_level>2)
return eval_instruction_with_debug(pc);