X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdefstruct.lisp;h=5a443c93c284a46ca5308b479f9599f509f1f0f3;hb=e02c32bd4d07a7d30c9a9d78be54f1f9f84f9877;hp=62b9bd278db7424a8444d0d0dec7c68266b21d50;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/src/code/defstruct.lisp b/src/code/defstruct.lisp index 62b9bd2..5a443c9 100644 --- a/src/code/defstruct.lisp +++ b/src/code/defstruct.lisp @@ -11,9 +11,6 @@ ;;;; files for more information. (in-package "SB!KERNEL") - -(file-comment - "$Header$") ;;;; getting LAYOUTs @@ -1176,14 +1173,15 @@ ;;; type declarations. Values are the values for the slots (in order.) ;;; ;;; This is split four ways because: -;;; 1] list & vector structures need "name" symbols stuck in at various weird -;;; places, whereas STRUCTURE structures have a LAYOUT slot. +;;; 1] list & vector structures need "name" symbols stuck in at +;;; various weird places, whereas STRUCTURE structures have +;;; a LAYOUT slot. ;;; 2] We really want to use LIST to make list structures, instead of ;;; MAKE-LIST/(SETF ELT). -;;; 3] STRUCTURE structures can have raw slots that must also be allocated and -;;; indirectly referenced. We use SLOT-ACCESSOR-FORM to compute how to set -;;; the slots, which deals with raw slots. -;;; 4] funcallable structures are weird. +;;; 3] STRUCTURE structures can have raw slots that must also be +;;; allocated and indirectly referenced. We use SLOT-ACCESSOR-FORM +;;; to compute how to set the slots, which deals with raw slots. +;;; 4] Funcallable structures are weird. (defun create-vector-constructor (defstruct cons-name arglist vars types values) (let ((temp (gensym))