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