Annotation of OpenXM/src/ox_math/mlo.h, Revision 1.4
1.4 ! ohara 1: /* $OpenXM$ */
1.1 ohara 2: #ifndef _MLO_H_
3:
4: #define _MLO_H_
5:
6: #include "ox.h"
7:
1.3 ohara 8: /* definitions of Mathlink Local Objects. */
1.1 ohara 9: typedef struct {
10: int tag;
11: int length;
12: cell head[1];
13: char *function;
14: } mlo_function;
15:
1.2 ohara 16: typedef cmo mlo;
17: typedef cmo_string mlo_string;
18: typedef cmo_zz mlo_zz;
19:
20: mlo_function *new_mlo_function(char *function);
21:
1.1 ohara 22: cmo *receive_mlo();
1.2 ohara 23: mlo *receive_mlo_zz();
24: mlo *receive_mlo_string();
25: cmo *receive_mlo_function();
26: cmo *convert_mlo_to_cmo(mlo *m);
27: cmo *receive_mlo_function_newer();
28: cmo *receive_mlo_symbol();
29:
30: int send_mlo(cmo *m);
31: int send_mlo_int32(cmo *m);
32: int send_mlo_string(cmo *m);
33: int send_mlo_zz(cmo *m);
34: int send_mlo_list(cmo *c);
1.1 ohara 35:
1.2 ohara 36: int ml_init();
37: int ml_exit();
38: int ml_flush();
39: int ml_select();
40: int ml_evaluateStringByLocalParser(char *str);
41: int ml_executeFunction(char *function, int argc, cmo *argv[]);
1.1 ohara 42:
43: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>