[Binding java] use is_rc to match error return type

This commit is contained in:
Benjamin Dauvergne 2010-07-12 14:08:59 +00:00
parent 0a955e18d5
commit f38c42de0f
1 changed files with 2 additions and 2 deletions

View File

@ -942,10 +942,10 @@ protected static native void destroy(long cptr);
arglist = generate_arg_list2(args[1:])
if arglist:
arglist = ', ' + arglist
if m.errors:
if is_rc(m.return_type):
print >> fd, 'LassoException.throwError(',
print >> fd,'LassoJNI.%s(this%s)' % (jni_name,arglist),
if m.errors:
if is_rc(m.return_type):
print >> fd, ');'
else:
print >> fd, ';'