[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FFI Questions



   From: Paul Snively <chewy@apple.com>

   Also, is there any way to get DEFRECORD to tell the MACL type system
   about the record type being defined, e.g.

   (defrecord foo ...)
   (defvar *a* (make-record :foo ...))
   (typep *a* :foo)

   should work.


Unfortunately, the Macintosh isn't a Lisp machine :-(
Objects allocated on the Mac Heap (handles and pointers) don't
have manifest types.  So, you'll never be able to call TYPEP on
them :-(

   -andrew