Mercurial Hosting > luan
changeset 1169:96e7b49ce013
add Table.as_table
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 08 Feb 2018 22:00:45 -0700 |
parents | 312e4cadd508 |
children | 3a0f58d09ee7 |
files | src/luan/modules/Table.luan |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
diff -r 312e4cadd508 -r 96e7b49ce013 src/luan/modules/Table.luan --- a/src/luan/modules/Table.luan Thu Feb 08 19:17:57 2018 -0700 +++ b/src/luan/modules/Table.luan Thu Feb 08 22:00:45 2018 -0700 @@ -1,8 +1,10 @@ java() local TableLuan = require "java:luan.modules.TableLuan" +local JavaLuan = require "java:luan.Luan" local Table = {} +Table.as_table = JavaLuan.table Table.clear = TableLuan.clear Table.concat = TableLuan.concat Table.copy = TableLuan.copy