add option to macro to generate object-oriented wrappers for non-static class methods