X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fstd-class.lisp;h=6b09912bbeeba15fdf28a4aba0542e04dc63146a;hb=2e47ed527bdcb76cf5eb52f66cc08f4fb0a0041d;hp=502fe7c87554cab10b808697e0c2fecfbb7818c2;hpb=a782418abea0bdb5d59d7d0cca9592459fe90832;p=sbcl.git diff --git a/src/pcl/std-class.lisp b/src/pcl/std-class.lisp index 502fe7c..6b09912 100644 --- a/src/pcl/std-class.lisp +++ b/src/pcl/std-class.lisp @@ -617,7 +617,8 @@ (values defstruct-form constructor reader-names writer-names))) (defun make-defstruct-allocation-function (class) - (let ((dd (get-structure-dd (class-name class)))) + ;; FIXME: Why don't we go class->layout->info == dd + (let ((dd (find-defstruct-description (class-name class)))) (lambda () (sb-kernel::%make-instance-with-layout (sb-kernel::compiler-layout-or-lose (dd-name dd)))))) @@ -1521,7 +1522,9 @@ ;; layout-depthoid). Is there any way we can provide a useful ;; error message? -- CSR, 2005-05-03 (eq s *the-class-file-stream*) (eq s *the-class-string-stream*) - ;; TODO + ;; This probably shouldn't be mixed in with certain other + ;; classes, too, but it seems to work both with STANDARD-OBJECT + ;; and FUNCALLABLE-STANDARD-OBJECT (eq s *the-class-sequence*))) ;;; Some necessary methods for FORWARD-REFERENCED-CLASS