summaryrefslogtreecommitdiff
path: root/gmp-h.in
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-10-01 03:17:07 +0200
committerKevin Ryde <user42@zip.com.au>2001-10-01 03:17:07 +0200
commit4f2088c0aa4031be16195634096c7c04cf1161cb (patch)
treee5b18596d135278abeee7de53171e2fa5fdedf62 /gmp-h.in
parent667efd17235b3fdce25ee6fcc56d98db3925ed0d (diff)
downloadgmp-4f2088c0aa4031be16195634096c7c04cf1161cb.tar.gz
* cxx/Makefile.am, cxx/Makefile.in, cxx/osdoprnti.cc, cxx/osfuns.cc,
cxx/osmpf.cc, cxx/osmpq.cc, cxx/osmpz.cc: New files. * gmp-h.in, gmp-impl.h: Prototypes and support.
Diffstat (limited to 'gmp-h.in')
-rw-r--r--gmp-h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/gmp-h.in b/gmp-h.in
index 4f74950e0..03e326dc9 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -1971,6 +1971,16 @@ mpn_sub_1 (mp_ptr dst, mp_srcptr src, mp_size_t size, mp_limb_t n)
#define mpz_even_p(z) (! mpz_odd_p (z))
+/**************** C++ routines ****************/
+
+#ifdef __cplusplus
+class ostream;
+ostream& __GMP_DECLSPEC mpz_out_ostream (ostream &o, mpz_srcptr z);
+ostream& __GMP_DECLSPEC mpq_out_ostream (ostream &o, mpq_srcptr q);
+ostream& __GMP_DECLSPEC mpf_out_ostream (ostream &o, mpf_srcptr f);
+#endif
+
+
/* Compatibility with GMP 2 and earlier. */
#define mpn_divmod(qp,np,nsize,dp,dsize) \
mpn_divrem (qp, (mp_size_t) 0, np, nsize, dp, dsize)