Mercurial Hosting > luan
comparison src/luan/modules/TableLuan.java @ 1330:f41919741100
fix security
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 11 Feb 2019 01:38:55 -0700 |
parents | 5ba660381bd5 |
children | 25746915a241 |
comparison
equal
deleted
inserted
replaced
1329:5a39b006acd1 | 1330:f41919741100 |
---|---|
82 } catch(LuanRuntimeException e) { | 82 } catch(LuanRuntimeException e) { |
83 throw (LuanException)e.getCause(); | 83 throw (LuanException)e.getCause(); |
84 } | 84 } |
85 } | 85 } |
86 | 86 |
87 public static LuanTable pack(LuanState luan,Object... args) { | 87 public static LuanTable pack(LuanState luan,Object... args) throws LuanException { |
88 LuanTable tbl = new LuanTable(luan,Arrays.asList(args)); | 88 LuanTable tbl = new LuanTable(luan,Arrays.asList(args)); |
89 tbl.rawPut( "n", args.length ); | 89 tbl.rawPut( "n", args.length ); |
90 return tbl; | 90 return tbl; |
91 } | 91 } |
92 | 92 |