diff options
author | antirez <antirez> | 2005-02-27 22:57:35 +0000 |
---|---|---|
committer | antirez <antirez> | 2005-02-27 22:57:35 +0000 |
commit | 1e2b529ea3d9d430598d7170435b5dd7ea01b8e2 (patch) | |
tree | 9301371839192175ca4a90a4721dae8e517d920a /jim.h | |
parent | 4de294e61179961271b5244159c9aea686ba5cb9 (diff) | |
download | jimtcl-1e2b529ea3d9d430598d7170435b5dd7ea01b8e2.zip jimtcl-1e2b529ea3d9d430598d7170435b5dd7ea01b8e2.tar.gz jimtcl-1e2b529ea3d9d430598d7170435b5dd7ea01b8e2.tar.bz2 |
Jim_Alloc/Free exported to extensions.
Diffstat (limited to 'jim.h')
-rw-r--r-- | jim.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -432,6 +432,11 @@ typedef struct Jim_Reference { #define JIM_API(x) x #endif +/* Memory allocation */ +void * JIM_API(Jim_Alloc) (int size); +char * JIM_API(Jim_StrDup) (char *s); +#define Jim_Free free + /* evaluation */ int JIM_API(Jim_EvalObj) (Jim_Interp *interp, Jim_Obj *scriptObjPtr); int JIM_API(Jim_EvalObjVector) (Jim_Interp *interp, int objc, Jim_Obj **objv); |