Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
81d64ab9
Commit
81d64ab9
authored
Sep 26, 2015
by
Paul Sokolovsky
Browse files
unix/modjni: call_method(): If name doesn't match, cleanup via goto next_method.
parent
c0a79cc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
unix/modjni.c
View file @
81d64ab9
...
...
@@ -332,7 +332,7 @@ STATIC mp_obj_t call_method(jobject obj, const char *name, jarray methods, bool
int
name_len
=
strlen
(
name
);
if
(
strncmp
(
name
,
meth_name
,
name_len
/*arg_types - meth_name - 1*/
)
||
meth_name
[
name_len
]
!=
'('
/*(*/
)
{
continue
;
goto
next_method
;
}
}
// printf("method[%d]=%p %s\n", i, meth, decl);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment