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

On 02/29/2012 03:18 PM, Kristian Lein-Mathisen wrote:

> Since struct-by-value is so central in both of these libraries, manually
> writing wrapper-code would take too long. I am unsure of where to go from
> here, but I suppose my options are:
>
> - Modify `foreign` to support struct-by-value
> - Modify `chicken-bind` to automatically write wrapper-code for
> struct-by-value
> - Write a script that re-parses the generated scheme-binding and inserts
> the wrappers

> Any thoughts on how to pursue this?

I would think that the first option is slightly neater, as it would then
apply to users of foreign other than via chicken-bind, but it might be
easier to do in chicken-bind! The last option looks ugly.


ABS

- --
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9OU8wACgkQRgz/WHNxCGrkdQCcDmKaG/yaXUzrIejXupDQ34zX
y+MAn2eyLzmMwE+Swah/xbIH1NfH0S4W
=gqMq
-----END PGP SIGNATURE-----

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to