diff options
Diffstat (limited to 'Lisp')
-rw-r--r-- | Lisp/class-definition.lisp | 8 | ||||
-rw-r--r-- | Lisp/method-definition.lisp | 2 |
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: |