comparison src/luan/lib/PackageLib.java @ 84:cca4f8522893

minor changes git-svn-id: https://luan-java.googlecode.com/svn/trunk@85 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 18 Feb 2013 23:15:14 +0000
parents 4bf3d0c0b6b9
children 6db8f286fa6c
comparison
equal deleted inserted replaced
83:b84f66704026 84:cca4f8522893
98 }; 98 };
99 99
100 public static final LuanFunction preloadSearcher = new LuanFunction() { 100 public static final LuanFunction preloadSearcher = new LuanFunction() {
101 public Object[] call(LuanState luan,Object[] args) throws LuanException { 101 public Object[] call(LuanState luan,Object[] args) throws LuanException {
102 String modName = (String)args[0]; 102 String modName = (String)args[0];
103 return new Object[]{luan.preload().get(modName)}; 103 Object mod = luan.preload().get(modName);
104 return new Object[]{mod};
104 } 105 }
105 }; 106 };
106 107
107 108
108 109