comparison src/luan/lib/IoLib.java @ 142:05f8c21160ef

minor git-svn-id: https://luan-java.googlecode.com/svn/trunk@143 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 13 Jun 2014 17:05:31 +0000
parents 7e160d2f6d9c
children fcb81fa2df0d
comparison
equal deleted inserted replaced
141:c2ee8a717b73 142:05f8c21160ef
31 import luan.LuanException; 31 import luan.LuanException;
32 32
33 33
34 public final class IoLib { 34 public final class IoLib {
35 35
36 public static final String NAME = "Io";
37
38 public static final LuanFunction LOADER = new LuanFunction() { 36 public static final LuanFunction LOADER = new LuanFunction() {
39 @Override public Object call(LuanState luan,Object[] args) { 37 @Override public Object call(LuanState luan,Object[] args) {
40 LuanTable module = new LuanTable(); 38 LuanTable module = new LuanTable();
41 try { 39 try {
42 add( module, "file", String.class ); 40 add( module, "file", String.class );