From 9b86bce6505eadc37f6042dcd9e8f181c5dd6eaf Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Sat, 14 Dec 1991 08:55:21 +0000 Subject: [PATCH] Added make-load-form-fun slot to defstruct-descriptions and annote defstruct-descriptions and defstruct-slot-descriptions as :just-dump-it-normally. --- code/struct.lisp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/code/struct.lisp b/code/struct.lisp index 08b0d8fac..8a1ce524b 100644 --- a/code/struct.lisp +++ b/code/struct.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/struct.lisp,v 1.11 1991/05/21 21:25:15 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/struct.lisp,v 1.12 1991/12/14 08:55:21 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -22,7 +22,8 @@ (defstruct (defstruct-description (:conc-name dd-) - (:print-function print-defstruct-description)) + (:print-function print-defstruct-description) + (:make-load-form-fun :just-dump-it-normally)) name ; name of the structure doc ; documentation on the structure slots ; list of slots @@ -39,12 +40,14 @@ lisp-type ; actual type used for implementation. named ; T if named, Nil otherwise offset ; first slot's offset into implementation sequence - (length nil :type (or fixnum null))) ; total length of the thing + (length nil :type (or fixnum null)) ; total length of the thing + make-load-form-fun) ; make-load-form function. (defstruct (defstruct-slot-description (:conc-name dsd-) - (:print-function print-defstruct-slot-description)) + (:print-function print-defstruct-slot-description) + (:make-load-form-fun :just-dump-it-normally)) %name ; string name of slot (index (required-argument) :type fixnum) ; its position in the implementation sequence accessor ; name of it accessor function -- GitLab