- (defmacro process-class-option (metaclass slot-name &optional required)
- #+lispworks
- `(defmethod clos:process-a-class-option ((class ,metaclass)
- (name (eql ,slot-name))
- value)
- (when (and ,required (null value))
- (error "metaclass ~A class slot ~A must have a value" (quote ,metaclass) name))
- (list name `',value))
- #+(or allegro sbcl cmu scl)
- (declare (ignore slot-name required))
- )
-
- (defmacro process-slot-option (metaclass slot-name)
- #+lispworks
- `(defmethod clos:process-a-slot-option ((class ,metaclass)
- (option (eql ,slot-name))
- value
- already-processed-options
- slot)
- (list* option `',value already-processed-options))
- #-lispworks
- (declare (ignore slot-name))
- )
+(defmacro process-class-option (metaclass slot-name &optional required)
+ #+lispworks
+ `(defmethod clos:process-a-class-option ((class ,metaclass)
+ (name (eql ,slot-name))
+ value)
+ (when (and ,required (null value))
+ (error "metaclass ~A class slot ~A must have a value" (quote ,metaclass) name))
+ (list name `',value))
+ #-lispworks
+ (declare (ignore metaclass slot-name required))
+ )
+
+(defmacro process-slot-option (metaclass slot-name)
+ #+lispworks
+ `(defmethod clos:process-a-slot-option ((class ,metaclass)
+ (option (eql ,slot-name))
+ value
+ already-processed-options
+ slot)
+ (list* option `',value already-processed-options))
+ #-lispworks
+ (declare (ignore metaclass slot-name))
+ )