summaryrefslogtreecommitdiff
path: root/Lisp
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-03-05 11:43:40 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-03-05 11:43:40 +0100
commit96ed1c189079219fd0772687839bfb4c7b7e3a27 (patch)
tree77fe6344a143c2362d2c51ca8f8667ca9790e0bc /Lisp
parent0c05293147046e0803731383f847a650a5d6cb85 (diff)
Update ENABLE-METHOD-SYNTAX documentation.
darcs-hash:a472659d5d7e56ae5124560e0318742ed21e85e5
Diffstat (limited to 'Lisp')
-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)