cffi-devel  

Re: [cffi-devel] passing value of different type than :int to foreign function

Luís Oliveira
Wed, 30 Jun 2010 14:47:19 -0700

On Wed, Jun 30, 2010 at 10:16 PM, N J <raphex...@gmail.com> wrote:
> Because 45.0 is not of type :double

Indeed, (type-of 45.0) => SINGLE-FLOAT. Try passing 45.0d0.

Cheers,

-- 
Luís Oliveira
http://r42.eu/~luis/

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel