From 7f8193989dd032769e1b365404cbe103423571b5 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Tue, 28 Sep 2010 07:50:20 +1000 Subject: Make jim more reentrant Make the exec wait table allocated and per-interpeter Use reentrant variants of some libc calls Signed-off-by: Steve Bennett --- jim.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jim.h') diff --git a/jim.h b/jim.h index 323a4e5..9ea02c0 100644 --- a/jim.h +++ b/jim.h @@ -613,7 +613,8 @@ typedef struct Jim_Reference { #define JIM_EXPORT /* Memory allocation */ -JIM_EXPORT void * Jim_Alloc (int size); +JIM_EXPORT void *Jim_Alloc (int size); +JIM_EXPORT void *Jim_Realloc(void *ptr, int size); JIM_EXPORT void Jim_Free (void *ptr); JIM_EXPORT char * Jim_StrDup (const char *s); JIM_EXPORT char *Jim_StrDupLen(const char *s, int l); -- cgit v1.1