[cffi-devel] Re: passing a list of numbers to double *

Stephen Compall s11 at member.fsf.org
Thu May 17 04:05:09 UTC 2007


On Wed, 2007-05-16 at 16:25 -0400, Tamas K Papp wrote:
> I am reading the CFFI documentation, but could not find this, sorry if
> this is an obvious question, just please point me in the right
> direction.

Look at with-foreign-object.  I have been doing other things so am not
up to speed on newtypes, but there should be something there as powerful
as specializing expand-to-foreign-dyn, if you need to pass double*s
often.

Don't trust the binding generator: see chapter 4, "Wrapper generators".

-- 
;;; Stephen Compall ** http://scompall.nocandysw.com/blog **
Failure to imagine vast possibilities usually stems from a lack of
imagination, not a lack of possibility.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20070516/286c9903/attachment.sig>


More information about the cffi-devel mailing list