fsvb and foreign-typedefs with aggregate types

Luís Oliveira luismbo at gmail.com
Fri Feb 14 11:24:08 UTC 2020


On Fri, 14 Feb 2020 at 10:41, Madhu <enometh at meer.net> wrote:
> But I am not sure. Does this have other ramifications: there seems to
> be confusion over how typedefs are resolved (and I do not understand
> code for the bare structs and enhanced-typedefs - perhaps I am
> expected to go about this problem in some other way?  Am I expected to
> define methods on translate-from-foreign-memory? or should CFFI always
> translate nested aggregates to lisp lists)

I can't check right now, but I wonder if the TYPEP check in DEFCTYPE
should be checking for TRANSLATABLE-FOREIGN-TYPE instead of
ENHANCED-FOREIGN-TYPE?

-- 
Luís Oliveira
http://kerno.org/~luis/



More information about the cffi-devel mailing list