Warning fix for directors submitted by Russell Magee
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d79daa4886
commit
550476ac58
1 changed files with 1 additions and 1 deletions
|
|
@ -3503,7 +3503,7 @@ class JAVA : public Language {
|
|||
for (int i = first_class_dmethod; i < curr_class_dmethod; ++i) {
|
||||
UpcallData *udata = Getitem(dmethods_seq, i);
|
||||
|
||||
Printf(w->def, "{ \"%s\", \"%s\" }", Getattr(udata, "method"), Getattr(udata, "fdesc"));
|
||||
Printf(w->def, "{ \"%s\", \"%s\", NULL }", Getattr(udata, "method"), Getattr(udata, "fdesc"));
|
||||
if (i != curr_class_dmethod - 1)
|
||||
Putc(',', w->def);
|
||||
Putc('\n', w->def);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue