From c9dda9d6a341d4b4e46c9148b8dcbba94e2c8b2c Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Wed, 5 Mar 2008 13:52:26 +0100 Subject: Improve DEFINE-OBJECTIVE-C-CLASS documentation. darcs-hash:11dd42d8010f57315e34a7f854c5664f3a65392f --- Lisp/class-definition.lisp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Lisp/class-definition.lisp') diff --git a/Lisp/class-definition.lisp b/Lisp/class-definition.lisp index ae64f09..729c19a 100644 --- a/Lisp/class-definition.lisp +++ b/Lisp/class-definition.lisp @@ -148,6 +148,14 @@ but doing so will make some code behave in unexpected ways, so it is not recommended. +## Note 3: + +Foreign slots are always __slot-boundp__, as it is impossible to +determine whether they have been set on the Objective-C side or not. +Because of this, one has to be very careful when using _:string_ as the +*foreign-type*. + + ## See also: __defclass__, __define-objective-c-generic-function, -- cgit v1.2.3