comparison core/src/luan/modules/PackageLuan.java @ 267:1507149fc447

rename Io.get() to Io.Uri() git-svn-id: https://luan-java.googlecode.com/svn/trunk@268 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Wed, 29 Oct 2014 22:05:55 +0000
parents 454a486d9c19
children 8ac3eaf8ecd9
comparison
equal deleted inserted replaced
266:4dca283b9b74 267:1507149fc447
86 } 86 }
87 return mod; 87 return mod;
88 } 88 }
89 89
90 static LuanFunction loader(LuanState luan,String name,boolean loading) throws LuanException { 90 static LuanFunction loader(LuanState luan,String name,boolean loading) throws LuanException {
91 LuanTable t = IoLuan.get(luan,name,loading); 91 LuanTable t = IoLuan.Uri(luan,name,loading);
92 if( t == null ) 92 if( t == null )
93 return null; 93 return null;
94 LuanFunction loader = (LuanFunction)t.get("loader"); 94 LuanFunction loader = (LuanFunction)t.get("loader");
95 if( loader == null ) 95 if( loader == null )
96 return null; 96 return null;