X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=attrib-class.lisp;h=12572a290e458f671d0ee2553589abbf32687349;hp=76f140ec58682e56f363d529e35f2ccf4553b2fa;hb=753fe2d6bbe8e8c8a6fa6154e829c6586b0c2ff3;hpb=bd02c7bad2c254d421e57bcc67d3c11723df8447 diff --git a/attrib-class.lisp b/attrib-class.lisp index 76f140e..12572a2 100644 --- a/attrib-class.lisp +++ b/attrib-class.lisp @@ -1,4 +1,4 @@ -;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- +;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: kmrcl-*- ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; @@ -9,13 +9,17 @@ ;;;; ;;;; $Id$ ;;;; -;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg +;;;; This file, part of KMRCL, is Copyright (c) 2002-2003 by Kevin M. Rosenberg ;;;; ;;;; KMRCL users are granted the rights to distribute and use this software ;;;; as governed by the terms of the Lisp Lesser GNU Public License ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* +;; Disable attrib class until understand changes in sbcl/cmucl +;; using COMPUTE-SLOT-ACCESSOR-INFO and defining method +;; for slot access of ALL-ATTRIBUTES. Does this work on Allegro/LW? + ;;;; Defines a metaclass that allows the use of attributes (or subslots) ;;;; on slots. Based on example in AMOP, but modified to use ACL's MOP. @@ -67,13 +71,14 @@ 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 - :documentation "Attribute bucker" + :documentation "Attribute bucket" :type t ) normal-slots)))