diff src/luan/LuanJavaFunction.java @ 113:8c706d6eb5dc

add binary type git-svn-id: https://luan-java.googlecode.com/svn/trunk@114 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 26 May 2014 05:27:26 +0000
parents 2428ecfed375
children eacf6ce1b47d
line wrap: on
line diff
--- a/src/luan/LuanJavaFunction.java	Fri May 23 22:52:39 2014 +0000
+++ b/src/luan/LuanJavaFunction.java	Mon May 26 05:27:26 2014 +0000
@@ -195,8 +195,7 @@
 	}
 
 	private static boolean isNumber(Class<?> rtnType) {
-		return rtnType == Byte.TYPE
-			|| rtnType == Short.TYPE
+		return rtnType == Short.TYPE
 			|| rtnType == Integer.TYPE
 			|| rtnType == Long.TYPE
 			|| rtnType == Float.TYPE