;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: attrib-class.lisp,v 1.8 2003/04/29 01:39:40 kevin Exp $
+;;;; $Id: attrib-class.lisp,v 1.9 2003/04/29 03:50:42 kevin Exp $
;;;;
;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(superclass kmr-mop:standard-class))
t)
-(defmethod kmr-mop:direct-slot-definition-class ((cl attributes-class)
- #+(or sbcl cmu scl lispworks)
- initargs
- #+(or allegro) &rest #+(or allegro) iargs)
- ;; (format t "attributes:~s iargs:~s~%" attributes iargs)
+(defmethod kmr-mop:direct-slot-definition-class ((cl attributes-class) #+kmr-normal-dsdc &rest initargs)
+ (declare (ignore initargs))
(kmr-mop:find-class 'attributes-dsd))
(defmethod kmr-mop:compute-effective-slot-definition :around
- ((cl attributes-class) #+kmr-named-cesd name dsds)
- #+kmr-named-cesd (declare (ignore name))
+ ((cl attributes-class) #+kmr-normal-cesd name dsds)
+ #+kmr-normal-cesd (declare (ignore name))
(apply
#'make-instance 'attributes-esd
:attributes (remove-duplicates (mapappend #'dsd-attributes dsds))
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: kmrcl.asd,v 1.26 2003/04/29 00:23:21 kevin Exp $
+;;;; $Id: kmrcl.asd,v 1.27 2003/04/29 03:54:40 kevin Exp $
;;;;
;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(defpackage #:kmrcl-system (:use #:asdf #:cl))
(in-package #:kmrcl-system)
-#+(or allegro cmucl lispworks sbcl scl) (pushnew :kmr-mop cl:*features*)
+#+(or allegro cmucl lispworks sbcl scl)
+(eval-when (:compile-toplevel :load-toplevel :execute)
+ (pushnew :kmr-mop cl:*features*))
(defsystem kmrcl
:name "kmrcl"
(oos 'test-op 'kmrcl-tests))
#+kmr-mop
-(setq cl:*features* (delete :kmr-mop cl:*features*))
+(eval-when (:compile-toplevel :load-toplevel :execute)
+ (setq cl:*features* (delete :kmr-mop cl:*features*)))
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2003
;;;;
-;;;; $Id: mop.lisp,v 1.1 2003/04/29 00:26:21 kevin Exp $
+;;;; $Id: mop.lisp,v 1.2 2003/04/29 03:50:42 kevin Exp $
;;;;
;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(ensure-generic-function
'compute-effective-slot-definition)))
3)
- (pushnew :kmr-named-cesd cl:*features*)))
+ (pushnew :kmr-normal-cesd cl:*features*)))
+
+(eval-when (:compile-toplevel :load-toplevel :execute)
+ (when (>= (length (generic-function-lambda-list
+ (ensure-generic-function
+ 'direct-slot-definition-class)))
+ 3)
+ (pushnew :kmr-normal-dsdc cl:*features*)))