* enhancement: default PRINT-OBJECT methods for classes, slot-definitions,
and generic function now print the object identity for anonymous
instances. (thanks to Attila Lendvai)
+ * enhancement: as an extension to MOP, SBCL now supports SETF of
+ STANDARD-INSTANCE-ACCESS and FUNCALLABLE-STANDARD-INSTANCE-ACCESS.
+ (thanks to Attila Lendvai)
* bug fix: new compiler transforms for MEMBER and ASSOC were affected
by printer control variables. (reported by Dan Corkill)
* bug fix: system leaked memory when delayed output was performed by
(slot-value object slot-name)
default))
\f
+(declaim (inline standard-instance-access (setf standard-instance-access)
+ funcallable-standard-instance-access
+ (setf funcallable-standard-instance-access)))
+
(defun standard-instance-access (instance location)
(clos-slots-ref (std-instance-slots instance) location))
+(defun (setf standard-instance-access) (new-value instance location)
+ (setf (clos-slots-ref (std-instance-slots instance) location) new-value))
+
(defun funcallable-standard-instance-access (instance location)
(clos-slots-ref (fsc-instance-slots instance) location))
+(defun (setf funcallable-standard-instance-access) (new-value instance location)
+ (setf (clos-slots-ref (fsc-instance-slots instance) location) new-value))
+
(defmethod slot-value-using-class ((class std-class)
(object standard-object)
(slotd standard-effective-slot-definition))
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.8.29"
+"1.0.8.30"