On Fri, Aug 18, 2017 at 4:43 PM, james anderson <ja...@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/

Reply via email to