projects
/
kmrcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r8055: now works with lispworks 4.3
[kmrcl.git]
/
attrib-class.lisp
diff --git
a/attrib-class.lisp
b/attrib-class.lisp
index d4e40d557830c19bf5e2f4b56b31030626d6b81a..76f140ec58682e56f363d529e35f2ccf4553b2fa 100644
(file)
--- a/
attrib-class.lisp
+++ b/
attrib-class.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id
: attrib-class.lisp,v 1.17 2003/08/29 19:44:37 kevin Exp
$
+;;;; $Id$
;;;;
;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
@@
-57,6
+57,8
@@
on example from AMOP"))
(setf (esd-attributes esd) (remove-duplicates (mapappend #'dsd-attributes dsds)))
esd))
(setf (esd-attributes esd) (remove-duplicates (mapappend #'dsd-attributes dsds)))
esd))
+;; This does not work in Lispworks prior to version 4.3
+
(defmethod kmr-mop:compute-slots ((class attributes-class))
(let* ((normal-slots (call-next-method))
(alist (mapcar
(defmethod kmr-mop:compute-slots ((class attributes-class))
(let* ((normal-slots (call-next-method))
(alist (mapcar
@@
-73,10
+75,6
@@
on example from AMOP"))
:allocation :instance
:documentation "Attribute bucker"
:type t
:allocation :instance
:documentation "Attribute bucker"
:type t
- #-lispworks :class #-lispworks class
- ;; This is an attempted work-around -- lispworks doesn't work
- ;; it appears to setup storage someplace
- ;; #+lispworks :location #+lispworks (length normal-slots)
)
normal-slots)))
)
normal-slots)))