some more SWIG_OUTPUT/SWIG_VOID API improvements