pike.git/
src/
global.h
Branch:
Tag:
Non-build tags
All tags
No tags
2016-01-12
2016-01-12 18:09:27 by Per Hedbor <ph@opera.com>
01b9216dc7703fe549b03c4a7fa322d3f6af6371 (
11
lines) (+
2
/-
9
)
[
Show
|
Annotate
]
Branch:
8.1
inline is part of c99
We do have.. excessive amounts of inline, incidentally. :)
540:
#define DO_IF_INTERNAL_PROFILING(X) #endif
-
#ifndef INLINE
-
#if defined(__GNUC__) && !defined(PIKE_DEBUG) && !defined(lint)
-
#define INLINE inline
-
#else
-
#define INLINE
-
#endif
-
#endif
-
+
/* Suppress compiler warnings for unused parameters if possible. The mangling of argument name is required to catch when an unused argument later is used without removing the annotation. */
620:
/* Some functions/macros used to avoid loss of precision warnings. */ #ifdef __ECL
-
static
INLINE
long PTRDIFF_T_TO_LONG(ptrdiff_t x)
+
static
inline
long PTRDIFF_T_TO_LONG(ptrdiff_t x)
{ return (long)x; }