From c93a74f1befea75be769fb47968e67568139954d Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Tue, 18 Sep 2007 00:50:47 +0200 Subject: Objective-C layer: Add functions for dealing with classes and metaclasses. darcs-hash:9ce15bb5fff3fb127cf4f6b72e70fa58c1cc2345 --- Lisp/data-types.lisp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Lisp/data-types.lisp') diff --git a/Lisp/data-types.lisp b/Lisp/data-types.lisp index 533578b..7b07624 100644 --- a/Lisp/data-types.lisp +++ b/Lisp/data-types.lisp @@ -108,6 +108,13 @@ a suitable class method instead as you would in Objective C. (:documentation "")) +(defclass objc-meta-class (c-pointer-wrapper) + ((meta-class-for-class :type (or null id objc-class) + :initarg :meta-class-for-class + :reader meta-class-for-class)) + (:documentation "")) + + (define-condition exception (error) ((pointer :type c-pointer :accessor pointer-to -- cgit v1.2.3