Mercurial Hosting > luan
diff core/src/luan/LuanState.java @ 430:f28320fd671d
fix LuanTable.toString() to use metatables
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 02 May 2015 20:35:26 -0600 |
parents | 1eafb11a150d |
children | c6bcb8859b93 |
line wrap: on
line diff
--- a/core/src/luan/LuanState.java Sat May 02 20:13:24 2015 -0600 +++ b/core/src/luan/LuanState.java Sat May 02 20:35:26 2015 -0600 @@ -70,6 +70,10 @@ return JAVA.call(fn,fnName,args); } + public String checkString(Object obj) throws LuanException { + return JAVA.checkString(obj); + } + public LuanFunction checkFunction(Object obj) throws LuanException { return JAVA.checkFunction(obj); }