summaryrefslogtreecommitdiff
path: root/gmp-h.in
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-10-15 01:14:47 +0200
committerKevin Ryde <user42@zip.com.au>2003-10-15 01:14:47 +0200
commitd67ea4c7234b4f54a9a97cf46b6ffc16e5ca2669 (patch)
tree648e80ed1b65d6c569f8f5075da5816a1b3a78b2 /gmp-h.in
parent6b767ed706baa7719ab243ee00a012a8d211ca0b (diff)
downloadgmp-d67ea4c7234b4f54a9a97cf46b6ffc16e5ca2669.tar.gz
* gmp-h.in (__mpz_struct): Add comment on __mpz_struct getting into
C++ mangled function names.
Diffstat (limited to 'gmp-h.in')
-rw-r--r--gmp-h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gmp-h.in b/gmp-h.in
index e908185cf..7f34c0bfa 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -197,6 +197,9 @@ typedef long int mp_limb_signed_t;
#endif
#endif
+/* For reference, note that the name __mpz_struct gets into C++ mangled
+ function names, which means although the "__" suggests an internal, we
+ must leave this name for binary compatibility. */
typedef struct
{
int _mp_alloc; /* Number of *limbs* allocated and pointed