diff --git a/dtool/src/interrogate/interfaceMakerC.cxx b/dtool/src/interrogate/interfaceMakerC.cxx index 64b36fc366..0deaa685be 100644 --- a/dtool/src/interrogate/interfaceMakerC.cxx +++ b/dtool/src/interrogate/interfaceMakerC.cxx @@ -191,7 +191,7 @@ write_function_instance(ostream &out, InterfaceMaker::Function *func, out << "/*\n" << " * C wrapper for\n" << " * "; - remap->write_orig_prototype(out, 0); + remap->write_orig_prototype(out, 0, false, remap->_num_default_parameters); out << "\n" << " */\n";