X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/1ec065092f42b4b0be3dcb833f3f5f24451701fd..be18b63c233dae3873691486a2d858e600b087f8:/src/method-proto.lisp?ds=inline diff --git a/src/method-proto.lisp b/src/method-proto.lisp index 1298431..5687802 100644 --- a/src/method-proto.lisp +++ b/src/method-proto.lisp @@ -95,6 +95,15 @@ direct-methods state)))) +(export 'sod-message-check-methods) +(defgeneric sod-message-check-methods (message class direct-methods) + (:documentation + "Check that the applicable methods for a MESSAGE are compatible. + + Specifically, given the DIRECT-METHODS applicable for the message when + received by an instance of CLASS, signal errors if the methods don't + match the MESSAGE or each other.")) + (export 'sod-message-effective-method-class) (defgeneric sod-message-effective-method-class (message) (:documentation