summaryrefslogtreecommitdiff
path: root/src/mpfr-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r--src/mpfr-impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h
index d2843ab68..805e3cb4a 100644
--- a/src/mpfr-impl.h
+++ b/src/mpfr-impl.h
@@ -213,6 +213,10 @@ extern "C" {
# define MPFR_CACHE_ATTR MPFR_THREAD_ATTR
#endif
+/* Note: The following structure and types depend on the MPFR build options
+ (including compiler options), due to the various locking methods affecting
+ MPFR_DEFERRED_INIT_SLAVE_DECL and MPFR_LOCK_DECL. But since this is only
+ internal, that's OK. */
struct __gmpfr_cache_s {
mpfr_t x;
int inexact;