=================================================================== RCS file: /home/cvs/OpenXM/src/ox_toolkit/ox_toolkit.h,v retrieving revision 1.18 retrieving revision 1.20 diff -u -p -r1.18 -r1.20 --- OpenXM/src/ox_toolkit/ox_toolkit.h 2003/05/28 08:43:59 1.18 +++ OpenXM/src/ox_toolkit/ox_toolkit.h 2003/06/02 10:25:57 1.20 @@ -1,5 +1,5 @@ /* -*- mode: C -*- */ -/* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.17 2003/05/25 16:35:41 ohara Exp $ */ +/* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.19 2003/05/29 15:50:49 ohara Exp $ */ #ifndef _OX_TOOLKIT_H_ @@ -19,6 +19,10 @@ extern "C" { #include #include +#define MALLOC(x) malloc((x)) +#define ALLOCA(x) alloca((x)) +#define FREE(x) free((x)) + #if !defined(__GNUC__) && !defined(__inline__) #define __inline__ #endif @@ -44,6 +48,9 @@ typedef struct OXFILE{ struct OXFILE *control; /* pointer to his control server. */ struct mathcap *mathcap; int error; + char *wbuf; + int wbuf_size; + int wbuf_count; } OXFILE; typedef struct cmo {