[cffi-devel] A question about arrays and enums
nitralime
nitralime at googlemail.com
Wed Mar 2 18:00:41 UTC 2011
Hi folks!
Hopefully here is the right place to ask CFFI user related questions.
What would be an appropriate CFFI definition for the following C entities?
1) typedef enum {
a = 0x01,
b = 0x02,
c = a | b,
d = 0x04 | c
} test;
2) typedef char XXX[8];
How are the C arrays handled in CFFI?
Any feedback is very much appreciated!
Regards
Nik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20110302/5ae07f6d/attachment.html>
More information about the cffi-devel
mailing list