Browse Source

interrogate: fix comment in C bindings for default arguments

Fixes #732
rdb 6 years ago
parent
commit
72b1814331
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/interrogate/interfaceMakerC.cxx

+ 1 - 1
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";