foreign-type-size implementation
Luís Oliveira
luismbo at gmail.com
Fri Aug 25 18:05:52 UTC 2017
On Fri, Aug 18, 2017 at 4:43 PM, james anderson <james at dydra.com> wrote:
> i am not sure my tests are correct and am not sure how parnoid they should be.
This passes the CFFI test suite:
(define-compiler-macro foreign-type-size (&whole form type)
(if (constantp type)
(foreign-type-size (eval type))
form))
Does it work for you?
--
Luís Oliveira
http://kerno.org/~luis/
More information about the cffi-devel
mailing list