From c58de98b8ae045c6508e8c2d709a0c5c84b3439e Mon Sep 17 00:00:00 2001 From: Amirouche Boubekki Date: Sun, 30 Sep 2012 21:50:19 +0200 Subject: [PATCH] no need to recompute return and args definition --- jnius/jnius_export_class.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jnius/jnius_export_class.pxi b/jnius/jnius_export_class.pxi index 1a4d2e0..2c0e276 100644 --- a/jnius/jnius_export_class.pxi +++ b/jnius/jnius_export_class.pxi @@ -729,7 +729,7 @@ cdef class JavaMultipleMethod(object): methods = self.static_methods for signature, jm in methods.iteritems(): - sign_ret, sign_args = parse_definition(signature) + sign_ret, sign_args = jm.definition_return, jm.definition_args if jm.is_varargs: args_ = args[:len(sign_args) - 1] + (args[len(sign_args) - 1:],) else: