Mercurial Hosting > luan
comparison src/luan/LuaJavaFunction.java @ 2:4da26b11d12a
start interp
git-svn-id: https://luan-java.googlecode.com/svn/trunk@3 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 14 Nov 2012 08:53:25 +0000 |
parents | 2df768b926aa |
children | 24fd6381caca |
comparison
equal
deleted
inserted
replaced
1:2df768b926aa | 2:4da26b11d12a |
---|---|
15 this.obj = obj; | 15 this.obj = obj; |
16 rtnConverter = getRtnConverter(method); | 16 rtnConverter = getRtnConverter(method); |
17 argConverters = getArgConverters(method); | 17 argConverters = getArgConverters(method); |
18 } | 18 } |
19 | 19 |
20 public Object[] call(Object... args) { | 20 @Override public Object[] call(Object... args) { |
21 args = fixArgs(args); | 21 args = fixArgs(args); |
22 Object rtn; | 22 Object rtn; |
23 try { | 23 try { |
24 rtn = method.invoke(obj,args); | 24 rtn = method.invoke(obj,args); |
25 } catch(IllegalAccessException e) { | 25 } catch(IllegalAccessException e) { |