diff core/src/luan/modules/StringLuan.java @ 221:ec016471c6eb

make LuanTable an interface git-svn-id: https://luan-java.googlecode.com/svn/trunk@222 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Thu, 17 Jul 2014 07:49:26 +0000
parents 5ba136769034
children 58752e3e4c5c
line wrap: on
line diff
--- a/core/src/luan/modules/StringLuan.java	Wed Jul 16 04:59:45 2014 +0000
+++ b/core/src/luan/modules/StringLuan.java	Thu Jul 17 07:49:26 2014 +0000
@@ -15,7 +15,7 @@
 
 	public static final LuanFunction LOADER = new LuanFunction() {
 		@Override public Object call(LuanState luan,Object[] args) {
-			LuanTable module = new LuanTable();
+			LuanTable module = Luan.newTable();
 			try {
 				add( module, "to_binary", String.class );
 				add( module, "to_integers", String.class );