version 1.30, 2015/08/19 05:53:13 |
version 1.31, 2015/08/20 08:42:07 |
|
|
/* $OpenXM: OpenXM_contrib2/asir2000/builtin/parif.c,v 1.29 2015/08/19 05:29:23 noro Exp $ */ |
/* $OpenXM: OpenXM_contrib2/asir2000/builtin/parif.c,v 1.30 2015/08/19 05:53:13 noro Exp $ */ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
#include "ox.h" |
#include "ox.h" |
Line 141 pointer evalparif(FUNC f,NODE arg) |
|
Line 141 pointer evalparif(FUNC f,NODE arg) |
|
ox_get_pari_result = 1; |
ox_get_pari_result = 1; |
Pox_pop_cmo(oxarg,&ret); |
Pox_pop_cmo(oxarg,&ret); |
ox_get_pari_result = 0; |
ox_get_pari_result = 0; |
|
if ( ret && OID(ret) == O_ERR ) { |
|
char buf[BUFSIZ]; |
|
soutput_init(buf); |
|
sprintexpr(CO,((ERR)ret)->body); |
|
error(buf); |
|
} |
if ( ret && OID(ret) == O_LIST ) { |
if ( ret && OID(ret) == O_LIST ) { |
ret = list_to_vect(ret); |
ret = list_to_vect(ret); |
ret = vect_to_mat((VECT)ret); |
ret = vect_to_mat((VECT)ret); |