[Aldor-l] Using GMP and extending the biging protocol

pip88nl at gmail.com pip88nl at gmail.com
Fri Aug 15 21:08:57 EDT 2008


Hi,

I am currently looking at fm_gmp.c, the gmp interface for foam's bigint
and wondering when fiBIntFree is being called. It seems to me that it
won't be called from aldor code, since that is garbage collected and the
GC has no finalisers (should it have them?). mpz_init doesn't call
stoAlloc so wouldn't those be memory leaks?

Pippijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.aldor.org/pipermail/aldor-l_aldor.org/attachments/20080816/d360538a/attachment-0002.bin>


More information about the Aldor-l mailing list