[Openmcl-devel] Foreign Type Size

Ron Garret ron at flownet.com
Mon May 31 15:55:21 PDT 2021


e.g.:

? (ccl::foreign-size (:struct :sockaddr_un) :bytes)
106


On May 30, 2021, at 10:26 PM, dave at synergy.org wrote:

> I've done this before but can't remember how to do it ...
> 
> In: rlet ((xx (:struct :xx)) ...
> 
> I need to pass the sizeof (struct xx) to a C function.  How is the size
> discovered in CCL?
> 
>    Thanks,
>    Dave
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list