summaryrefslogtreecommitdiff
path: root/Lisp
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-03-05 13:52:26 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-03-05 13:52:26 +0100
commitc9dda9d6a341d4b4e46c9148b8dcbba94e2c8b2c (patch)
tree4112d38465c133fab3700ee6dbaa1c69a0698242 /Lisp
parent807d03d0ccb6faea67ea107f7e8e199a06ef24c7 (diff)
Improve DEFINE-OBJECTIVE-C-CLASS documentation.
darcs-hash:11dd42d8010f57315e34a7f854c5664f3a65392f
Diffstat (limited to 'Lisp')
-rw-r--r--Lisp/class-definition.lisp8
-rw-r--r--Lisp/method-definition.lisp2
2 files changed, 10 insertions, 0 deletions
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: