summaryrefslogtreecommitdiff
path: root/cache.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2005-02-03 14:59:39 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2005-02-03 14:59:39 +0000
commit322eedfed5269686a73496b2d44e0e4fdc7acd66 (patch)
tree3da132a5eac62affbe1c30484fae45db5d8d34c2 /cache.c
parentdd38a571d3b1e52cad19346b0ab7ecc54b2b3f7c (diff)
downloadmpfr-322eedfed5269686a73496b2d44e0e4fdc7acd66.tar.gz
Change user interface for mpfr_const_pi, mpfr_const_log2 and
mpfr_const_euler. No more access to the cache itself. Create dummy functions which call the cache, and rename old functions to "_internal". Internally, it doesn't change at all (You still call directly the cache instead of the dummy function which calls the cache). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3271 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cache.c')
-rw-r--r--cache.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/cache.c b/cache.c
index 018c83a71..67317e262 100644
--- a/cache.c
+++ b/cache.c
@@ -21,11 +21,6 @@ MA 02111-1307, USA. */
#include "mpfr-impl.h"
-/* Global MPFR cache */
-MPFR_DECL_INIT_CACHE(__gmpfr_cache_const_pi, mpfr_const_pi);
-MPFR_DECL_INIT_CACHE(__gmpfr_cache_const_log2, mpfr_const_log2);
-MPFR_DECL_INIT_CACHE(__gmpfr_cache_const_euler, mpfr_const_euler);
-
void
mpfr_init_cache (mpfr_cache_t cache, int (*func)(mpfr_ptr, mp_rnd_t))
{