[cffi-devel] translate-to-foreign on a class

Luís Oliveira luismbo at gmail.com
Mon Jul 30 19:24:24 UTC 2007


Hello,

On 30/07/07, Tamas K Papp <tpapp at princeton.edu> wrote:
> I have a class which is defined like this (basically, wraps a pointer):
[...]
> For convenience, I would like to use it in place of a pointer, with
> some extra error checking:

We haven't updated the manual in the website yet. We need two versions
up there (for the released and development versions), I suppose. Let
me point you to sections 5.3 and 5.4 of CFFI's manual:

<http://common-lisp.net/~loliveira/tmp/cffi-newtypes/html_node/Defining-Foreign-Types.html>

It still needs some work so let us know if that doesn't answer all
your questions.

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/



More information about the cffi-devel mailing list