From 96ed1c189079219fd0772687839bfb4c7b7e3a27 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Wed, 5 Mar 2008 11:43:40 +0100 Subject: Update ENABLE-METHOD-SYNTAX documentation. darcs-hash:a472659d5d7e56ae5124560e0318742ed21e85e5 --- Lisp/reader-syntax.lisp | 16 +++++++++------- 1 file 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) + => # - (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) -- cgit v1.2.3