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 ++++++++ Lisp/method-definition.lisp | 2 ++ 2 files changed, 10 insertions(+) (limited to '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, diff --git a/Lisp/method-definition.lisp b/Lisp/method-definition.lisp index 75f6c31..b7f716e 100644 --- a/Lisp/method-definition.lisp +++ b/Lisp/method-definition.lisp @@ -103,6 +103,8 @@ __defgeneric__, including _:generic-function-class_ and _:method-class_. Have a nice day. => 120 + #.(disable-method-syntax) + ## Note 1: -- cgit v1.2.3