pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-04
2000-08-04 14:50:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>
ab8572af2e72cf8b359990ecb122d048f7073010 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
More ptrdiff_t.
Rev: src/stralloc.c:1.87
Rev: src/stralloc.h:1.45
25:
#define HUGE HUGE_VAL #endif /*!HUGE*/
-
RCSID("$Id: stralloc.c,v 1.
86
2000/08/
03
16
:
30
:
16
grubba Exp $");
+
RCSID("$Id: stralloc.c,v 1.
87
2000/08/
04
14
:
49
:
59
grubba Exp $");
#define BEGIN_HASH_SIZE 997 #define MAX_AVG_LINK_LENGTH 3
1366:
} PMOD_EXPORT struct pike_string *string_slice(struct pike_string *s,
-
INT32
start,
-
INT32
len)
+
ptrdiff_t
start,
+
ptrdiff_t
len)
{ #ifdef PIKE_DEBUG if(start < 0 || len<0 || start+len>s->len )