Question on variable types...

Paul Zimmermann Paul.Zimmermann at loria.fr
Sun Feb 5 22:09:07 CET 2006


> Date: Sat, 04 Feb 2006 13:41:14 -0600
> From: David Cleaver <wraithx at morpheus.net>
> 
> Hello everyone,
> 
> I was wondering, what is the difference between an mpz_srcptr and an
> mpz_ptr?  I've searched the manual and found no reference to either of
> them.  What are they used for?  Can I use them in my own programs? 
> Thanks for any info.
> 
> -David C.
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at swox.com
> https://gmplib.org/mailman/listinfo/gmp-discuss

mpz_srcptr is a "const" structure, i.e. you can only read it, not modify it.
You can use them at your own risk, since they are not in the public interface.

Paul



More information about the gmp-discuss mailing list