[cffi-devel] sizeof() Operator

Kalyanov Dmitry kalyanov.dmitry at gmail.com
Sun Sep 13 09:52:34 UTC 2009


On Sunday 13 September 2009 12:11:04 Volkan YAZICI wrote:
> Is there anything available in CFFI similar to sizeof() operator
> in C? I want to get the size of the structs/types defined via
> DEFCSTURCT/DEFCTYPE.

see CFFI:FOREIGN-TYPE-SIZE
(http://common-lisp.net/project/cffi/manual/html_node/foreign_002dtype_002dsize.html#foreign_002dtype_002dsize)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20090913/4c507e10/attachment.sig>


More information about the cffi-devel mailing list