diff src/luan/LuanBit.java @ 111:2428ecfed375

change LuanFunction.call() from returning Object[] to returning Object, to reduce garbage collection git-svn-id: https://luan-java.googlecode.com/svn/trunk@112 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 23 May 2014 20:40:05 +0000
parents 6ca02b188dba
children f5af13062b10
line wrap: on
line diff
--- a/src/luan/LuanBit.java	Fri May 23 04:36:47 2014 +0000
+++ b/src/luan/LuanBit.java	Fri May 23 20:40:05 2014 +0000
@@ -16,7 +16,7 @@
 		return new LuanException(this,msg);
 	}
 
-	public Object[] call(LuanFunction fn,String fnName,Object... args) throws LuanException {
+	public Object call(LuanFunction fn,String fnName,Object... args) throws LuanException {
 		List<StackTraceElement> stackTrace = luan.stackTrace;
 		stackTrace.add( new StackTraceElement(el,fnName) );
 		try {