[BACK]Return to ox_toolkit.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Diff for /OpenXM/src/ox_toolkit/ox_toolkit.h between version 1.41 and 1.43

version 1.41, 2016/04/01 18:12:39 version 1.43, 2016/08/23 02:24:19
Line 1 
Line 1 
 /* -*- mode: C -*- */  /* -*- mode: C -*- */
 /* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.40 2015/08/27 03:03:33 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.42 2016/07/14 08:16:19 ohara Exp $ */
   
 #ifndef _OX_TOOLKIT_H_  #ifndef _OX_TOOLKIT_H_
 #define _OX_TOOLKIT_H_  #define _OX_TOOLKIT_H_
Line 15 
Line 15 
   
 #if defined(_MSC_VER)  #if defined(_MSC_VER)
 #include <malloc.h>  #include <malloc.h>
   #else
   #include <sys/select.h>
 #endif  #endif
   
 #define MALLOC(x) GC_MALLOC((x))  #define MALLOC(x) GC_MALLOC((x))
Line 40  typedef struct {
Line 42  typedef struct {
 typedef struct mathcap {  typedef struct mathcap {
     table *cmotbl;      table *cmotbl;
     table *smtbl;      table *smtbl;
       char  **opts;
 } mathcap;  } mathcap;
   
 /* OpenXM File Descripter */  /* OpenXM File Descripter */
Line 59  typedef struct OXFILE{
Line 62  typedef struct OXFILE{
     double (*receive_double)(struct OXFILE *oxfp);      double (*receive_double)(struct OXFILE *oxfp);
 } OXFILE;  } OXFILE;
   
   #if 0
   #define OX_FD_SETSIZE   FD_SETSIZE
   #else
   #define OX_FD_SETSIZE   32
   #endif
   
   typedef struct {
       int count;
       fd_set fdset;
       OXFILE *p[OX_FD_SETSIZE];
   } OXFILE_set;
   
 typedef struct cmo {  typedef struct cmo {
     int tag;      int tag;
 } cmo;  } cmo;
Line 304  char*    get_symbol_by_tag(int tag);
Line 319  char*    get_symbol_by_tag(int tag);
 /* for mathcap database */  /* for mathcap database */
 mathcap *new_mathcap();  mathcap *new_mathcap();
 void mathcap_init(int ver, char *vstr, char *sysname, int cmos[], int sms[]);  void mathcap_init(int ver, char *vstr, char *sysname, int cmos[], int sms[]);
   void mathcap_init2(int ver, char *vstr, char *sysname, int cmos[], int sms[], char *options[]);
 cmo_mathcap* mathcap_get(mathcap *);  cmo_mathcap* mathcap_get(mathcap *);
 mathcap *mathcap_update(mathcap *, cmo_mathcap *mc);  mathcap *mathcap_update(mathcap *, cmo_mathcap *mc);
 int mathcap_allowQ_cmo(mathcap *, cmo *ob);  int mathcap_allowQ_cmo(mathcap *, cmo *ob);

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.43

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>