From: Geoffrey <[email protected]> Subject: Re: [Chicken-users] how to declare foreign variably size structs? Date: Sat, 22 Jun 2013 21:09:14 +1000
> Thanks db05. > > So far i think the best technique is to use the SDL egg (which i think > Mario pointed me at) as a reference. I believe it basically creates a > blob and casts to the struct so the fields can be accessed. > > Honestly at the moment, simply writing it in C looks more > intelligible. And doing so is not always the worst solution. Sometimes it is more straightforward to pieces of glue-code which themselves are usually much easier to bind. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
