Warning fix for directors submitted by Russell Magee
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
90d1804e82
commit
e1b6854087
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) {
|
for (int i = first_class_dmethod; i < curr_class_dmethod; ++i) {
|
||||||
UpcallData *udata = Getitem(dmethods_seq, 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)
|
if (i != curr_class_dmethod - 1)
|
||||||
Putc(',', w->def);
|
Putc(',', w->def);
|
||||||
Putc('\n', w->def);
|
Putc('\n', w->def);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue