X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/27ec3825bd945bcdae0dca8ab2b4475c4722b313..a42893dda5f4dd2b89fbfe4e497da261159225ca:/src/class-make-proto.lisp diff --git a/src/class-make-proto.lisp b/src/class-make-proto.lisp index b10c298..f787bd3 100644 --- a/src/class-make-proto.lisp +++ b/src/class-make-proto.lisp @@ -124,6 +124,22 @@ You are not expected to call this generic function directly; it's more useful as a place to hang methods for custom initializer classes.")) +(export 'make-sod-class-initfrag) +(defgeneric make-sod-class-initfrag (class frag pset &optional location) + (:documentation + "Attach an initialization fragment FRAG to the CLASS. + + Currently, initialization fragments are just dumb objects held in a + list.")) + +(export 'make-sod-class-tearfrag) +(defgeneric make-sod-class-tearfrag (class frag pset &optional location) + (:documentation + "Attach a teardown fragment FRAG to the CLASS. + + Currently, teardown fragments are just dumb objects held in a + list.")) + ;;;-------------------------------------------------------------------------- ;;; Messages and methods.