comparison src/luan/modules/TableLuan.java @ 1095:2443152dc2f1

add Luan.hash_code() and Table.hash_value()
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 21 Feb 2017 20:27:17 -0700
parents 6b8ea0a9b7c9
children ad6b3b9fef40
comparison
equal deleted inserted replaced
1094:cb4c20fce7d0 1095:2443152dc2f1
110 110
111 public static void clear(LuanTable tbl) { 111 public static void clear(LuanTable tbl) {
112 tbl.rawClear(); 112 tbl.rawClear();
113 } 113 }
114 114
115 public static int hash_value(LuanTable tbl) throws LuanException {
116 return tbl.hashValue();
117 }
118
115 } 119 }