[cffi-devel] Re: translate-from-foreign
Luís Oliveira
luismbo at gmail.com
Tue May 22 22:42:29 UTC 2007
On 22/05/07, Stephen Compall <s11 at member.fsf.org> wrote:
> On Tue, 2007-05-22 at 16:35 +0000, Luke Crook wrote:
> > But CFFI does not seem to support translate-from-
> > foreign for types created with DEFCENUM. Is this observation correct?
>
> Yes. Maybe cffi-newtypes has it differently, but I have not yet looked
> into that as closely as the current translation interface.
I've added a :class option to defcstruct for similar reasons. We could
add such a thing to defcenum too.
--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
More information about the cffi-devel
mailing list