[gambit-list] list ref counting with c interface

Marc Feeley feeley at iro.umontreal.ca
Tue Feb 13 14:34:44 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 1-Feb-07, at 5:57 AM, Phil Dawes wrote:

> Oh - oops. The final argument to ___UTF_8STRING_to_SCMOBJ is arg_num,
> not the allocation policy. What should this be?
>
> Thanks,
>
> Phil

You can pass any integer.  This information is included in the error  
code when there is an error.  By the way, you should check for errors  
(such as heap overflow) if you want your code to be robust.

Marc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFF0hLU//V9Zc2T/v4RAndNAJ4/GH32f8A7Hi7/JLGkOi7zNuTrSgCfYomc
q2Q45g8GResnfQw0tsy7E7Q=
=48BZ
-----END PGP SIGNATURE-----



More information about the Gambit-list mailing list