Skip to content
Snippets Groups Projects
Commit 9b86bce6 authored by wlott's avatar wlott
Browse files

Added make-load-form-fun slot to defstruct-descriptions and annote

defstruct-descriptions and defstruct-slot-descriptions as
:just-dump-it-normally.
parent 71545807
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; ;;;
(ext:file-comment (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 @@ ...@@ -22,7 +22,8 @@
(defstruct (defstruct-description (defstruct (defstruct-description
(:conc-name dd-) (: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 name ; name of the structure
doc ; documentation on the structure doc ; documentation on the structure
slots ; list of slots slots ; list of slots
...@@ -39,12 +40,14 @@ ...@@ -39,12 +40,14 @@
lisp-type ; actual type used for implementation. lisp-type ; actual type used for implementation.
named ; T if named, Nil otherwise named ; T if named, Nil otherwise
offset ; first slot's offset into implementation sequence 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 (defstruct (defstruct-slot-description
(:conc-name dsd-) (: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 %name ; string name of slot
(index (required-argument) :type fixnum) ; its position in the implementation sequence (index (required-argument) :type fixnum) ; its position in the implementation sequence
accessor ; name of it accessor function accessor ; name of it accessor function
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment