_ptr and _srcptr types
Marco Bodrato
bodrato at mail.dm.unipi.it
Tue May 22 19:41:52 UTC 2018
Ciao,
Il Mar, 22 Maggio 2018 11:53 am, Torbjörn Granlund ha scritto:
> But we won't argue against Vincent casting
> the terminating mpz_inits argument to mpz_ptr (but hopefully he refrains
> from doing that until we solemnly declare that we have pronounced it as
> part of the GMP standard). :-)
diff -r aab8a010d10f doc/gmp.texi
--- a/doc/gmp.texi Mon May 21 00:13:27 2018 +0200
+++ b/doc/gmp.texi Tue May 22 21:40:20 2018 +0200
@@ -3031,7 +3031,7 @@
@end deftypefun
@deftypefun void mpz_inits (mpz_t @var{x}, ...)
-Initialize a NULL-terminated list of @code{mpz_t} variables, and set their
+Initialize a (mpz_ptr)NULL-terminated list of @code{mpz_t} variables, and
set their
values to 0.
@end deftypefun
@@ -4291,7 +4291,7 @@
@end deftypefun
@deftypefun void mpq_inits (mpq_t @var{x}, ...)
-Initialize a NULL-terminated list of @code{mpq_t} variables, and set their
+Initialize a (mpq_ptr)NULL-terminated list of @code{mpq_t} variables, and
set their
values to 0/1.
@end deftypefun
@@ -4678,7 +4678,7 @@
@end deftypefun
@deftypefun void mpf_inits (mpf_t @var{x}, ...)
-Initialize a NULL-terminated list of @code{mpf_t} variables, and set their
+Initialize a (mpf_ptr)NULL-terminated list of @code{mpf_t} variables, and
set their
values to 0. The precision of the initialized variables is undefined
:-)
Ĝis,
m
--
http://bodrato.it/
More information about the gmp-devel
mailing list