X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/blobdiff_plain/bf090e021a5c20da452a4841cdfb8eb78e29544e..b0ff693c25bf81f935efa15a44fdad6ce95e9f91:/src/class-utilities.lisp?ds=inline diff --git a/src/class-utilities.lisp b/src/class-utilities.lisp index 62f27d8..aa4ef17 100644 --- a/src/class-utilities.lisp +++ b/src/class-utilities.lisp @@ -100,7 +100,7 @@ (defun find-root-superclass (class) The root superclass is the superclass which itself has no direct superclasses. In universes not based on the provided builtin module, the - root class may not be our beloved SodObject; however, there must be one + root class may not be our beloved `SodObject'; however, there must be one (otherwise the class graph is cyclic, which should be forbidden), and we insist that it be unique." @@ -196,4 +196,8 @@ (export 'vtable-name) (defun vtable-name (class chain-head) (format nil "~A__vtable_~A" class (sod-class-nickname chain-head))) +(export 'message-macro-name) +(defun message-macro-name (class message) + (format nil "~A_~A" class (sod-message-name message))) + ;;;----- That's all, folks --------------------------------------------------