X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=attrib-class.lisp;h=d1d47bd239fd572c0c40d0d3d59be6fe1445af19;hp=26a645a6248dc1b7a65ca179de96de5d89968a78;hb=c2974df32b94d3bd25c32fa2e181b1980da59631;hpb=c8d30e413138f2463ba99a531df2c301cadb206a diff --git a/attrib-class.lisp b/attrib-class.lisp index 26a645a..d1d47bd 100644 --- a/attrib-class.lisp +++ b/attrib-class.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: attrib-class.lisp,v 1.16 2003/07/01 22:16:40 kevin Exp $ +;;;; $Id$ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -65,18 +65,19 @@ on example from AMOP")) (mapcar #'(lambda (attr) (list attr)) (esd-attributes slot)))) normal-slots))) - (cons (make-instance 'attributes-esd - :name 'all-attributes - :initform `',alist - :initfunction #'(lambda () alist) - :allocation :instance - :class class - :documentation "" - :type t - ;; This is an attempted work-around -- lispworks doesn't work - ;; it appears to setup storage someplace - ;; #+lispworks :location #+lispworks (length normal-slots) - ) + (cons (make-instance + 'attributes-esd + :name 'all-attributes + :initform `',alist + :initfunction #'(lambda () alist) + :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))) (defun slot-attribute (instance slot-name attribute)