[fpc-pascal] operator overloading and counting references / creating / destoying anonymous instances

Honza befelemepeseveze at gmail.com
Sun Jul 31 12:48:13 CEST 2011


2011/7/28 Bernd <prof7bit at googlemail.com>:
> ยน I depend on OpenSSL already anyways, so I thought why not make use
> of its bignum too when I need it.

I hope you're aware of the FPC GMP bindings:

http://wiki.freepascal.org/gmp

The section

http://wiki.freepascal.org/gmp#Extensions_bindings_.26_types

discuses extended bindings which use the automated memory handling and
overloaded operators. See also the sources:

http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/gmp/src/gmp.pas?view=markup

starting at line 1684.



More information about the fpc-pascal mailing list