X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/11e41ddf86b4ee793f44fc0e39cb4c1869335b14..1645e4335e58ef3a8f1cafb1834e93760d80d9ae:/src/class-finalize-impl.lisp diff --git a/src/class-finalize-impl.lisp b/src/class-finalize-impl.lisp index b0e31ce..25ce1c2 100644 --- a/src/class-finalize-impl.lisp +++ b/src/class-finalize-impl.lisp @@ -7,7 +7,7 @@ ;;;----- Licensing notice --------------------------------------------------- ;;; -;;; This file is part of the Sensble Object Design, an object system for C. +;;; This file is part of the Sensible Object Design, an object system for C. ;;; ;;; SOD is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by @@ -350,7 +350,7 @@ ((nil) ;; If this fails, mark the class as a loss. - (setf (sod-class-state class) :broken) + (setf (slot-value class 'state) :broken) ;; Finalize all of the superclasses. There's some special pleading ;; here to make bootstrapping work: we don't try to finalize the @@ -366,7 +366,7 @@ (finalize-sod-class metaclass))) ;; Stash the class's type. - (setf (sod-class-type class) + (setf (slot-value class '%type) (make-class-type (sod-class-name class))) ;; Clobber the lists of items if they've not been set. @@ -388,7 +388,7 @@ (setf (values chain-head chain chains) (compute-chains class))) ;; Done. - (setf (sod-class-state class) :finalized) + (setf (slot-value class 'state) :finalized) t) (:broken