Return to gmpq.c CVS log | Up to [local] / OpenXM_contrib2 / asir2000 / engine |
version 1.3, 2014/08/19 06:35:01 | version 1.4, 2015/08/07 05:30:36 | ||
---|---|---|---|
|
|
||
void init_gmpq() | void init_gmpq() | ||
{ | { | ||
mp_set_memory_functions(Risa_GC_malloc_atomic,gc_realloc,gc_free); | mp_set_memory_functions(Risa_GC_malloc,gc_realloc,gc_free); | ||
mpz_init(ONEMPZ); mpz_set_ui(ONEMPZ,1); MPZTOGZ(ONEMPZ,ONEGZ); | mpz_init(ONEMPZ); mpz_set_ui(ONEMPZ,1); MPZTOGZ(ONEMPZ,ONEGZ); | ||
} | } |