version 1.7, 2000/12/24 06:32:31 |
version 1.8, 2001/03/16 01:56:18 |
|
|
* OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY |
* OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* $OpenXM: OpenXM_contrib2/asir2000/io/bsave.c,v 1.6 2000/12/22 10:03:30 saito Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/io/bsave.c,v 1.7 2000/12/24 06:32:31 saito Exp $ |
*/ |
*/ |
/* saveXXX must not use GC_malloc(), GC_malloc_atomic(). */ |
/* saveXXX must not use GC_malloc(), GC_malloc_atomic(). */ |
|
|
Line 69 void saver(FILE *,R); |
|
Line 69 void saver(FILE *,R); |
|
void savep(FILE *,P); |
void savep(FILE *,P); |
void savegf2n(FILE *,GF2N); |
void savegf2n(FILE *,GF2N); |
void savegfpn(FILE *,GFPN); |
void savegfpn(FILE *,GFPN); |
|
void savegfs(FILE *,GFS); |
void savelm(FILE *,LM); |
void savelm(FILE *,LM); |
void savemi(FILE *,MQ); |
void savemi(FILE *,MQ); |
void savecplx(FILE *,C); |
void savecplx(FILE *,C); |
Line 85 void (*savef[])() = { 0, savenum, savep, saver, saveli |
|
Line 86 void (*savef[])() = { 0, savenum, savep, saver, saveli |
|
#if defined(INTERVAL) |
#if defined(INTERVAL) |
void saveitv(); |
void saveitv(); |
void saveitvd(); |
void saveitvd(); |
void (*nsavef[])() = { saveq, savereal, 0, savebf, saveitv, saveitvd, 0, saveitv, savecplx ,savemi, savelm, savegf2n, savegfpn}; |
void (*nsavef[])() = { saveq, savereal, 0, savebf, saveitv, saveitvd, 0, saveitv, savecplx ,savemi, savelm, savegf2n, savegfpn, savegfs}; |
#else |
#else |
void (*nsavef[])() = { saveq, savereal, 0, savebf, savecplx ,savemi, savelm, savegf2n, savegfpn}; |
void (*nsavef[])() = { saveq, savereal, 0, savebf, savecplx ,savemi, savelm, savegf2n, savegfpn, savegfs}; |
#endif |
#endif |
|
|
static short zeroval = 0; |
static short zeroval = 0; |
|
|
for ( i = 0; i <= d; i++ ) |
for ( i = 0; i <= d; i++ ) |
saveobj(s,(Obj)p->body->c[i]); |
saveobj(s,(Obj)p->body->c[i]); |
} |
} |
|
|
|
void savegfs(s,p) |
|
FILE *s; |
|
GFS p; |
|
{ write_int(s,&CONT(p)); } |
|
|
void savep(s,p) |
void savep(s,p) |
FILE *s; |
FILE *s; |