lib/sod.h, src/class-{output,utilities}.lisp: Macros for messages.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 4 Sep 2015 10:20:31 +0000 (11:20 +0100)
commit6bc944c3cebb89056d9ed0b53eff6260909291a9
tree9f35d1b1fcb8fcede912e2ab6762c883c2593e5d
parent7b78999c5e8c9e3f06f6ad565dbafcb676747249
lib/sod.h, src/class-{output,utilities}.lisp: Macros for messages.

Emit a C macro for each message defined, which just saves the ugly
messing duplication of the receiver and the messing about with vtables.

This feature isn't stable yet, so don't rely on it not changing.  For
example, I've not yet decided on whether or not to uppercase the message
name.
lib/sod.h
src/class-output.lisp
src/class-utilities.lisp