From 69bfdcfb2a1218eddea19ea86378589e50f87b27 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Wed, 5 Mar 2008 16:43:55 +0100 Subject: Document class OBJECTIVE-C-CLASS. darcs-hash:4133dbeb589fd1c29ec77b5242e7335b973e98aa --- Lisp/data-types.lisp | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'Lisp') diff --git a/Lisp/data-types.lisp b/Lisp/data-types.lisp index c305d99..e44dd88 100644 --- a/Lisp/data-types.lisp +++ b/Lisp/data-types.lisp @@ -231,10 +231,30 @@ and development for portable programs as well). (defclass objective-c-class (standard-class c-pointer-wrapper) - ((registered-p :type boolean - :accessor foreign-class-registered-p - :documentation - "Whether the class has been registered with the Objective-C runtime."))) + ((registered-p :type boolean + :accessor foreign-class-registered-p + :documentation + "Whether the class has been registered with the Objective-C runtime.")) + (:documentation "The type of all Objective-C classes. + +## Description: + +__objective-c-class__ is the supertype of all Objective-C metaclasses +and thus the type of any Objective-C class. The only public API that it +provides is the generic function __objective-c-class-registered-p__ that +determines whether the class has already been registered with the +Objective-C runtime. + + +## Examples: + + (invoke (find-objc-class 'ns-mutable-array) 'self) + => #<+NS-MUTABLE-ARRAY NS:NS-MUTABLE-ARRAY> + + +## See also: + + __id__, __objective-c-class-registered-p__")) (defclass objective-c-meta-class (objective-c-class) -- cgit v1.2.3