diff core/src/luan/modules/BasicLuan.java @ 537:5fed3de0aac7

add Luan.assert_double and add assert_* to Web_search query env
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 01 Jun 2015 00:42:00 -0600
parents 3058870cbe83
children f1601a4ce1aa
line wrap: on
line diff
--- a/core/src/luan/modules/BasicLuan.java	Mon Jun 01 00:27:45 2015 -0600
+++ b/core/src/luan/modules/BasicLuan.java	Mon Jun 01 00:42:00 2015 -0600
@@ -139,6 +139,10 @@
 		return v;
 	}
 
+	public static double assert_double(LuanState luan,double v) throws LuanException {
+		return v;
+	}
+
 	@LuanMethod public static byte[] assert_binary(LuanState luan,byte[] v) throws LuanException {
 		Utils.checkNotNull(luan,v);
 		return v;