pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2004-03-19
2004-03-19 16:02:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>
d7d61d698cc5b48261a9ad987ffc5449475556a5 (
16
lines) (+
9
/-
7
)
[
Show
|
Annotate
]
Branch:
7.9
Exported symbols may not be inline.
Rev: src/stralloc.c:1.162
Rev: src/stralloc.h:1.79
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: stralloc.c,v 1.
161
2004/03/
07
23
:
25
:
45
nilsson
Exp $
+
|| $Id: stralloc.c,v 1.
162
2004/03/
19
16
:
02
:
03
grubba
Exp $
*/ #include "global.h"
24:
#include <ctype.h> #include <math.h>
-
RCSID("$Id: stralloc.c,v 1.
161
2004/03/
07
23
:
25
:
45
nilsson
Exp $");
+
RCSID("$Id: stralloc.c,v 1.
162
2004/03/
19
16
:
02
:
03
grubba
Exp $");
/* #define STRALLOC_USE_PRIMES */
161:
return 0; }
-
PMOD_EXPORT
INLINE
unsigned INT32 index_shared_string(struct pike_string *s,
+
PMOD_EXPORT unsigned INT32 index_shared_string(struct pike_string *s,
ptrdiff_t pos) { #ifdef PIKE_DEBUG
179:
return generic_extract(s->str,s->size_shift,pos); }
-
PMOD_EXPORT
INLINE
void low_set_index(struct pike_string *s, ptrdiff_t pos,
+
PMOD_EXPORT void low_set_index(struct pike_string *s, ptrdiff_t pos,
int value) { #ifdef PIKE_DEBUG
208:
} #ifdef PIKE_DEBUG
-
PMOD_EXPORT
INLINE
struct pike_string *debug_check_size_shift(struct pike_string *a,int shift)
+
PMOD_EXPORT struct pike_string *debug_check_size_shift(struct pike_string *a,
+
int shift)
{ if(a->size_shift != shift) Pike_fatal("Wrong STRX macro used!\n");