Add PackageLib.setLuaPath() utility method.

This commit is contained in:
James Roseborough
2007-12-06 21:53:42 +00:00
parent 2ee0a1eeed
commit 6871903303

View File

@@ -97,7 +97,7 @@ public class PackageLib extends LFunction {
}
public static void setLuaPath( String newLuaPath ) {
pckg.put( _PATH, _LUA_PATH );
pckg.put( _PATH, new LString(newLuaPath) );
}
private final int id;