Rename python_kwargs testcase to kwargs_feature. Add kwargs_feature to Ruby and fix Ruby warnings when using kwargs feature. Add %kwargs macro for Ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3cb76bb45e
commit
58e74e8675
6 changed files with 15 additions and 4 deletions
|
|
@ -1477,7 +1477,7 @@ public:
|
|||
/* Finish argument marshalling */
|
||||
Printf(kwargs, " NULL }");
|
||||
if (allow_kwargs) {
|
||||
Printv(f->locals, tab4, "char *kwnames[] = ", kwargs, ";\n", NIL);
|
||||
Printv(f->locals, tab4, "const char *kwnames[] = ", kwargs, ";\n", NIL);
|
||||
}
|
||||
|
||||
/* Trailing varargs */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue