X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/blobdiff_plain/c6b4ed992d81518f240509e6ab212d8fe705485a..refs/heads/mdw/progfmt:/src/class-make-proto.lisp diff --git a/src/class-make-proto.lisp b/src/class-make-proto.lisp index 09b9f98..a978ca3 100644 --- a/src/class-make-proto.lisp +++ b/src/class-make-proto.lisp @@ -272,4 +272,16 @@ (defgeneric check-method-type (method message type) This is separated out of `shared-initialize', where it's called, so that it can be overridden conveniently by subclasses.")) +;;;-------------------------------------------------------------------------- +;;; Static instances. + +(export 'make-static-instance) +(defgeneric make-static-instance (class name initializers pset location &key) + (:documentation + "Construct a new static instance of the given CLASS. + + This is the main constructor functoin for static instances. This is a + generic function so that the CLASS can construct static instances in a + special way.")) + ;;;----- That's all, folks --------------------------------------------------