summaryrefslogtreecommitdiff
path: root/gmp-h.in
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-10-09 03:34:22 +0200
committerKevin Ryde <user42@zip.com.au>2001-10-09 03:34:22 +0200
commit6ef030cf5fcf6905897ae4023a1e3a91ed2fb99a (patch)
treecf7ddc16d1f8bb283db769b8a8acdb98dfef0dd9 /gmp-h.in
parenta4389dcff7a0d22fced3f662cf3d11e16bb96e08 (diff)
downloadgmp-6ef030cf5fcf6905897ae4023a1e3a91ed2fb99a.tar.gz
2001-10-09 Gerardo Ballabio <ballabio@sissa.it>
* cxx/ismpf.cc, cxx/ismpq.cc, cxx/ismpz.cc: New files. * gmp-h.in: Add prototypes.
Diffstat (limited to 'gmp-h.in')
-rw-r--r--gmp-h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/gmp-h.in b/gmp-h.in
index ba3bb3845..ee51095af 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -1974,10 +1974,14 @@ mpn_sub_1 (mp_ptr dst, mp_srcptr src, mp_size_t size, mp_limb_t n)
/**************** C++ routines ****************/
#ifdef __cplusplus
+class istream;
class ostream;
ostream& __GMP_DECLSPEC operator<< (ostream &o, mpz_srcptr z);
ostream& __GMP_DECLSPEC operator<< (ostream &o, mpq_srcptr q);
ostream& __GMP_DECLSPEC operator<< (ostream &o, mpf_srcptr f);
+istream& __GMP_DECLSPEC operator>> (istream &i, mpz_ptr z);
+istream& __GMP_DECLSPEC operator>> (istream &i, mpq_ptr q);
+istream& __GMP_DECLSPEC operator>> (istream &i, mpf_ptr f);
#endif