[cffi-devel] Using preprocessor symbol as argument to :count in cstruct

Stelian Ionescu stelian.ionescu-zeus at poste.it
Sun Dec 28 21:43:50 UTC 2008


On Tue, 2008-10-14 at 09:23 -0400, Hugo Duncan wrote:
> Hi,
> 
> Attatched is a simple (5-line) patch bundle that allows the use of a
> preprocessor symbol as the argument to the :count keyword in a cstruct.
> This allows grovelling of structs that contain arrays whose size is
> specified by a #defined value.  Previously, non-numeric arguments were
> ignored.
> 
> First time using darcs for anything other than retrieval, so I hope the  
> attached is in a useable form.

I've applied your patch. Sorry for the delay

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20081228/5e1de715/attachment.sig>


More information about the cffi-devel mailing list