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

Diff for /OpenXM/src/ox_toolkit/ox_Xsample.c between version 1.3 and 1.6

version 1.3, 2000/10/10 05:23:20 version 1.6, 2004/06/28 11:53:00
Line 1 
Line 1 
 /* -*- mode: C; coding: euc-japan -*- */  /* -*- mode: C; coding: euc-japan -*- */
 /* $OpenXM: OpenXM/src/ox_toolkit/ox_Xsample.c,v 1.2 2000/03/10 12:24:38 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_toolkit/ox_Xsample.c,v 1.5 2003/02/04 20:43:55 ohara Exp $ */
   
 #include <stdio.h>  #include <stdio.h>
   #include <stdlib.h>
 #include "ox_toolkit.h"  #include "ox_toolkit.h"
   
 OXFILE *fd_rw;  OXFILE *fd_rw;
Line 56  void pops(int n)
Line 57  void pops(int n)
     }      }
 }  }
   
 #define VERSION 0x11121400  #define OX_XSAMPLE_VERSION 0x11121400
 #define ID_STRING  "1999/12/14 15:25:00"  #define ID_STRING  "1999/12/14 15:25:00"
   
 int sm_mathcap()  int sm_mathcap()
 {  {
         mathcap_sysinfo_set(VERSION, ID_STRING, "ox_Xsample");      mathcap_init(OX_XSAMPLE_VERSION, ID_STRING, "ox_Xsample", NULL, NULL);
     push(mathcap_get());      push(oxf_cmo_mathcap(fd_rw));
     return 0;      return 0;
 }  }
   
Line 96  int get_i()
Line 97  int get_i()
   
 int get_xy(int *x, int *y)  int get_xy(int *x, int *y)
 {  {
     cmo *c = pop();      pop();
     *x = get_i();      *x = get_i();
     *y = get_i();      *y = get_i();
 }  }
Line 193  int receive()
Line 194  int receive()
   
 int main()  int main()
 {  {
       ox_stderr_init(stderr);
     initialize_stack();      initialize_stack();
   
         fd_rw = oxf_open(3);          fd_rw = oxf_open(3);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

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