src/method-{proto,impl}.lisp: Add `:valist' method-entry role.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 6 Sep 2015 17:05:11 +0000 (18:05 +0100)
commitbf8aadd76bceba05d2a325181a71763a5625c89b
treeb58391f5c170797c6c50ba6f5f9e44524edb26fa
parentb426ab51d0598242a4c2b57d563341db66d71f7b
src/method-{proto,impl}.lisp: Add `:valist' method-entry role.

For each varargs message, add a new entry whose name has a `__v' suffix,
and which takes a `va_list' argument in place of the variable-length
argument list of the `nil' entry.  The `nil' entry now just sets up the
`va_list' pointer and invokes the corresponding `:valist' entry function.

This actually makes constructing the method-entry functions somewhat
cleaner, since the handling of variable argument lists is now
concentrated in the construction of a separate entry function.
src/method-impl.lisp
src/method-proto.lisp