MPFR version info
Torbjorn Granlund
tg at swox.com
Mon Jul 12 16:35:06 CEST 2004
"Jacek Blaszczynski" <jacek.blaszczynski at acn.waw.pl> writes:
Hello!
>From perspective of creating GMP/MPFR CLI environment languages bindings
(.NET and Mono) read-only variable would be useless!
P/Invoke mechanism, which is used to call functions in libraries outside CLI
runtime, does not allow to retrieve any constants or global variables in a
way other than through calling functions.
So please keep it as the function and perhaps equivalent function could be
very useful for GMP consumers as well. It could be against all coding
practices from C/C++ world but owuld help pther worlds to interoperate!
Anyway it does not have any impact on library performance.
A name that follows a pattern, but is used differently is a
burden to users. Therefore, an extension library should try to
be as ortagonal with respect to the base library as possible, I
think.
If some package cannot use a function, it is easy enough to write
some glue code as part of that package.
--
Torbjörn
More information about the gmp-discuss
mailing list