Mercurial Hosting > luan
diff src/luan/modules/IoLuan.java @ 1334:c88b486a9511
make some Luan methods static
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Feb 2019 22:53:57 -0700 |
parents | 25746915a241 |
children | e0cf0d108a77 |
line wrap: on
line diff
--- a/src/luan/modules/IoLuan.java Tue Feb 12 22:33:40 2019 -0700 +++ b/src/luan/modules/IoLuan.java Tue Feb 12 22:53:57 2019 -0700 @@ -46,7 +46,7 @@ public interface LuanWriter { public Object out(); - public void write(Luan luan,Object... args) throws LuanException, IOException; + public void write(Object... args) throws LuanException, IOException; public void close() throws IOException; } @@ -57,9 +57,9 @@ return out; } - public void write(Luan luan,Object... args) throws LuanException { + public void write(Object... args) throws LuanException { for( Object obj : args ) { - out.print( luan.toString(obj) ); + out.print( Luan.luanToString(obj) ); } } @@ -76,9 +76,9 @@ return out; } - public void write(Luan luan,Object... args) throws LuanException, IOException { + public void write(Object... args) throws LuanException, IOException { for( Object obj : args ) { - out.write( luan.toString(obj) ); + out.write( Luan.luanToString(obj) ); } } @@ -369,9 +369,9 @@ return out; } - public void write(Luan luan,Object... args) throws LuanException, IOException { + public void write(Object... args) throws LuanException, IOException { for( Object obj : args ) { - out.write( luan.toString(obj) ); + out.write( Luan.luanToString(obj) ); } }