X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/9ec578d9fe450b7e7f9030dc9d930185593aa991..3f725f73b9ae26a54f49b5feb744d37a8f1dd308:/src/module-proto.lisp?ds=sidebyside diff --git a/src/module-proto.lisp b/src/module-proto.lisp index 4152329..9c7fcaf 100644 --- a/src/module-proto.lisp +++ b/src/module-proto.lisp @@ -101,7 +101,7 @@ During module construction, this is always an instance of `module'. Once we've finished constructing it, we'll call `change-class' to turn it into - an instance of whatever type is requested in the module's `:lisp-class' + an instance of whatever type is requested in the module's `:module-class' property.") (export 'module-import) @@ -135,9 +135,9 @@ This isn't necessary if you made the module by hand. If you've constructed it incrementally, then it might be a good plan. In particular, it will change the class (using `change-class') of the module - according to the class choice set in the module's `:lisp-class' property. - This has the side effects of calling `shared-initialize', setting the - module's state to `t', and checking for unrecognized + according to the class choice set in the module's `:module-class' + property. This has the side effects of calling `shared-initialize', + setting the module's state to `t', and checking for unrecognized properties. (Therefore subclasses should add a method to `shared-initialize' taking care of looking at interesting properties, just to make sure they're ticked off.)")) @@ -148,7 +148,8 @@ (export '(module module-name module-pset module-items module-dependencies)) (defclass module () ((name :initarg :name :type pathname :reader module-name) - (pset :initarg :pset :initform (make-pset) :type pset :reader module-pset) + (%pset :initarg :pset :initform (make-pset) + :type pset :reader module-pset) (items :initarg :items :initform nil :type list :accessor module-items) (dependencies :initarg :dependencies :initform nil :type list :accessor module-dependencies)