| version 1.18, 2003/05/28 08:43:59 |
version 1.21, 2003/06/02 20:38:41 |
|
|
| /* -*- mode: C -*- */ |
/* -*- 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.20 2003/06/02 10:25:57 ohara Exp $ */ |
| |
|
| #ifndef _OX_TOOLKIT_H_ |
#ifndef _OX_TOOLKIT_H_ |
| |
|
|
|
| #include <ox/cmotag.h> |
#include <ox/cmotag.h> |
| #include <ox/oxMessageTag.h> |
#include <ox/oxMessageTag.h> |
| #include <ox/smCommand.h> |
#include <ox/smCommand.h> |
| |
#include <gc/gc.h> |
| |
|
| |
#define MALLOC(x) GC_MALLOC((x)) |
| |
#define ALLOCA(x) alloca((x)) |
| |
/* #define FREE(x) free((x)) */ |
| |
#define FREE(x) |
| |
|
| #if !defined(__GNUC__) && !defined(__inline__) |
#if !defined(__GNUC__) && !defined(__inline__) |
| #define __inline__ |
#define __inline__ |
| #endif |
#endif |
| Line 44 typedef struct OXFILE{ |
|
| Line 50 typedef struct OXFILE{ |
|
| struct OXFILE *control; /* pointer to his control server. */ |
struct OXFILE *control; /* pointer to his control server. */ |
| struct mathcap *mathcap; |
struct mathcap *mathcap; |
| int error; |
int error; |
| |
char *wbuf; |
| |
int wbuf_size; |
| |
int wbuf_count; |
| } OXFILE; |
} OXFILE; |
| |
|
| typedef struct cmo { |
typedef struct cmo { |