diff --git a/Source/Modules/c.cxx b/Source/Modules/c.cxx index 6d8f04d43..916875a3b 100644 --- a/Source/Modules/c.cxx +++ b/Source/Modules/c.cxx @@ -694,7 +694,7 @@ ready: Printv(wrapper->code, return_type, " result;\n", NIL); Printf(wrapper->code, "result = "); } - Printv(wrapper->code, name, "(", arg_names, ");\n", NIL); + Printv(wrapper->code, Getattr(n, "name"), "(", arg_names, ");\n", NIL); Append(wrapper->code, append_feature(n)); if (!is_void_return) Printf(wrapper->code, "return result;\n");