diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-10-01 03:17:07 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-10-01 03:17:07 +0200 |
commit | 4f2088c0aa4031be16195634096c7c04cf1161cb (patch) | |
tree | e5b18596d135278abeee7de53171e2fa5fdedf62 /gmp-h.in | |
parent | 667efd17235b3fdce25ee6fcc56d98db3925ed0d (diff) | |
download | gmp-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.in | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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) |