version 1.11, 2003/02/04 20:43:55 |
version 1.12, 2003/03/23 20:17:35 |
|
|
/* -*- mode: C -*- */ |
/* -*- mode: C -*- */ |
/* $OpenXM: OpenXM/src/ox_toolkit/testclient.c,v 1.10 2003/01/13 12:03:12 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_toolkit/testclient.c,v 1.11 2003/02/04 20:43:55 ohara Exp $ */ |
|
|
/* A sample implementation of an OpenXM client with OpenXM C library */ |
/* A sample implementation of an OpenXM client with OpenXM C library */ |
|
|
Line 50 static int prompt() |
|
Line 50 static int prompt() |
|
int test_0() |
int test_0() |
{ |
{ |
cmo* c = NULL; |
cmo* c = NULL; |
#ifdef DEBUG |
|
ox_printf("testclient:: calling ox_mathcap().\n"); |
ox_printf("testclient:: calling ox_mathcap().\n"); |
c = ox_mathcap(sv); |
c = ox_mathcap(sv); |
ox_printf("testclient:: cmo received.(%p)\n", c); |
ox_printf("testclient:: cmo received.(%p)\n", c); |
#else |
|
c = (cmo *)ox_mathcap(sv); |
|
#endif |
|
print_cmo(c); |
print_cmo(c); |
|
|
mathcap_init(VERSION, ID_STRING, "testclient", NULL, NULL); |
mathcap_init(VERSION, ID_STRING, "testclient", NULL, NULL); |