diff options
author | Kevin Ryde <user42@zip.com.au> | 2000-10-21 22:36:48 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2000-10-21 22:36:48 +0200 |
commit | 1cf82e91f12d15c42480287ffd8a0129b9115809 (patch) | |
tree | fcaf322e0548a64c9164126830268b7be8cf4fd1 /mpfr/init.c | |
parent | 5053c1ea781951ac68dfd0576e01028ec8bbcbd0 (diff) | |
download | gmp-1cf82e91f12d15c42480287ffd8a0129b9115809.tar.gz |
* * (__gmp_allocate_func etc): Rename from _mp_allocate_func etc.
(__gmp_default_allocate etc): Rename from _mp_default_allocate etc.
Diffstat (limited to 'mpfr/init.c')
-rw-r--r-- | mpfr/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpfr/init.c b/mpfr/init.c index e416511c7..37f03536c 100644 --- a/mpfr/init.c +++ b/mpfr/init.c @@ -42,7 +42,7 @@ mpfr_init2 (x, p) xsize = (p - 1)/BITS_PER_MP_LIMB + 1; x -> _mp_prec = p; - x -> _mp_d = (mp_ptr) (*_mp_allocate_func) + x -> _mp_d = (mp_ptr) (*__gmp_allocate_func) (xsize * BYTES_PER_MP_LIMB); x -> _mp_size = xsize; x -> _mp_exp = 0; /* avoids uninitialized memory reads for zero */ |