cpp_generator::print_method_header: extract out variant taking name and arity
commit30eea9184252ade8f3e95d6facd5914d0a5893ee
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 12 Jul 2018 13:41:27 +0000 (12 15:41 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 21 Oct 2018 15:21:08 +0000 (21 17:21 +0200)
treeed365ddb69ec4b4daadbc9b64f511f9b865889c3
parent46375b3dd867387e18c3477016d3619c1ca07aa3
cpp_generator::print_method_header: extract out variant taking name and arity

The extracted function will be reused to print the header of
methods derived from a function that sets an enum value,
where the name and the arity is different from those
for regular functions.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
interface/cpp.cc
interface/cpp.h