![](https://secure.gravatar.com/avatar/539d22ab47b6f5ad7e5178acd31b5c56.jpg?s=120&d=mm&r=g)
14 Apr
2011
14 Apr
'11
2:47 p.m.
/*Hi folks!*/ Is there a way to get the (meta) information of structure slots defined by */defcstruct/*? Consider the following concrete example: (defcstruct test (a :uint) (b :char :count 10) (c :pointer)) Is it possible to get info like type, (array-)size of the slots /*a, b* /and /*c*/ by only introspecting '/*test*/'? Something like (foreign-slot-type 'test 'a) /*==> :char*/ (foreign-slot-count 'test 'b) /*==> 10*/ would be very useful! Regards Nik