pike.git/
src/
builtin_functions.c
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 (
17
lines) (+
9
/-
8
)
[
Show
|
Annotate
]
Branch:
8.1
inline is part of c99
We do have.. excessive amounts of inline, incidentally. :)
225:
} #define MK_HASHMEM(NAME, TYPE) ATTRIBUTE((const)) \
-
static
INLINE
size_t NAME(const TYPE *str, ptrdiff_t len, ptrdiff_t maxn) \
+
static
inline
size_t NAME(const TYPE *str, ptrdiff_t len, ptrdiff_t maxn) \
{ \ size_t ret,c; \ \
291:
push_int64(i); }
-
ATTRIBUTE((const)) static
INLINE
size_t hashstr(const unsigned char *str, ptrdiff_t maxn)
+
ATTRIBUTE((const)) static
inline
size_t hashstr(const unsigned char *str, ptrdiff_t maxn)
{ size_t ret,c;
6455:
static int dmls=0;
-
static
INLINE
struct diff_magic_link_pool*
+
static
inline
struct diff_magic_link_pool*
dml_new_pool(struct diff_magic_link_pool **pools) { struct diff_magic_link_pool *new;
6471:
return *pools; }
-
static
INLINE
struct diff_magic_link*
+
static
inline
struct diff_magic_link*
dml_new(struct diff_magic_link_pool **pools) { struct diff_magic_link *new;
6503:
return NULL; }
-
static
INLINE
void dml_free_pools(struct diff_magic_link_pool *pools)
+
static
inline
void dml_free_pools(struct diff_magic_link_pool *pools)
{ struct diff_magic_link_pool *pool;
6515:
} }
-
static
INLINE
void dml_delete(struct diff_magic_link_pool *pools,
+
static
inline
void dml_delete(struct diff_magic_link_pool *pools,
struct diff_magic_link *dml) { struct diff_magic_link *prev;
6532:
} }
-
static
INLINE
int diff_ponder_stack(int x,
+
static
inline
int diff_ponder_stack(int x,
struct diff_magic_link **dml, int top) {
6551:
return a; }
-
static
INLINE
int diff_ponder_array(int x,
+
static
inline
int diff_ponder_array(int x,
struct svalue *arr, int top) {