chiark / gitweb /
src/c-types-impl.lisp: Remember `signed' as a C-level synonym for `int'.
[sod] / src / method-proto.lisp
index 129843150363a31ca3cee485e393cb2252c059a9..5687802bad3a19e53ee265c84ab30515e04927a0 100644 (file)
@@ -95,6 +95,15 @@ (defun compute-effective-method-keyword-arguments
                                                             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