On Fri, 14 Feb 2020 at 10:41, Madhu enometh@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?