version 1.17, 2003/05/25 16:35:41 |
version 1.21, 2003/06/02 20:38:41 |
|
|
/* -*- mode: C -*- */ |
/* -*- mode: C -*- */ |
/* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.16 2003/05/24 23:10:40 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 { |
typedef struct cmo { |
int tag; |
int tag; |
} cmo; |
} cmo; |
|
|
Line 81 typedef cmo_mathcap cmo_indeterminate; |
|
Line 90 typedef cmo_mathcap cmo_indeterminate; |
|
|
|
/* a double linked list */ |
/* a double linked list */ |
typedef struct cell { |
typedef struct cell { |
cmo *cmo; |
struct cmo *cmo; |
struct cell *next; |
struct cell *next; |
struct cell *prev; |
struct cell *prev; |
} cell; |
} cell; |
Line 135 typedef struct { |
|
Line 144 typedef struct { |
|
|
|
typedef struct { |
typedef struct { |
int tag; |
int tag; |
cmo *cmo; |
struct cmo *cmo; |
} ox_data; |
} ox_data; |
|
|
cmo_null* new_cmo_null(); |
cmo_null* new_cmo_null(); |