[cffi-devel] Semantics of defctype*

Luís Oliveira luismbo at gmail.com
Sat Sep 1 19:22:18 UTC 2007


On 01/09/07, Rayiner Hashem <rayiner at gmail.com> wrote:
> That said, we shouldn't really be using defctype* at all, right?
> Slightly more clever processing of definitions should obviate any need
> for it.

Forgot to reply to this bit. So, we could make DEFCTYPE behave like
DEFCTYPE*, i.e. defer the type instantiation until parse-time. IIRC,
the only disadvantage is that you don't get an immediate error on
(defctype foo some-typo-here).

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



More information about the cffi-devel mailing list