summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lisp/reader-syntax.lisp16
1 files changed, 9 insertions, 7 deletions
diff --git a/Lisp/reader-syntax.lisp b/Lisp/reader-syntax.lisp
index ddf9edc..bbba68c 100644
--- a/Lisp/reader-syntax.lisp
+++ b/Lisp/reader-syntax.lisp
@@ -56,15 +56,17 @@ _objective-c-selectors__ as the **symbol package**.
#.(enable-method-syntax)
- (#/stringWithCString:encoding: \"Hi there!\" 0)
- =>
+ (#/stringWithCString:encoding: (find-objc-class 'ns-string) \"Hi there!\" 4)
+ => #<NS:GSC-BUFFER-STRING `Hi there!' {821ff58}>
- (defvar *lock* (#/new (find-objc-class 'ns-lock)))
- => *LOCK*
+ (defvar \\*lock\\* (#/new (find-objc-class 'ns-lock)))
+ => \\*LOCK\\*
- (#/lock lock)
- (#/tryLock lock)
- (#/unlock lock)
+ (#/lock \\*lock\\*) => no value
+ (#/tryLock \\*lock\\*) => NIL
+ (#/unlock \\*lock\\*) => no value
+ (#/tryLock \\*lock\\*) => T
+ (#/unlock \\*lock\\*) => no value
#.(disable-method-syntax)