Commit Graph

12 Commits

Author SHA1 Message Date
Bruce Hill
526c5e7373 Fixed Lua 5.1 compatibility with lua_len() and cleaned up makefile so it
doesn't test by default.
2018-02-09 18:29:21 -08:00
Bruce Hill
7cb9ccc223 Added from_table() 2018-02-09 18:21:49 -08:00
Bruce Hill
bf95f0e317 Renamed __field_positions -> __indices 2018-02-09 18:02:28 -08:00
Bruce Hill
0ef2794f2a Fixed #, switched over to __instance_positions, deleted :new(). 2018-02-09 18:01:01 -08:00
Bruce Hill
cd479f05fd Added __ipairs 2018-02-09 17:10:14 -08:00
Bruce Hill
0f15ee34d7 Added default tostring. 2018-02-09 16:46:33 -08:00
Bruce Hill
1da889f65a For now, switching back to __instances instead of HASH_BUCKETS, because
it's cleaner and not *much* slower.
2018-02-09 15:59:22 -08:00
Bruce Hill
5c8d0fd69a Lots of cleanup. Got rid of instances. 2018-02-09 15:57:34 -08:00
Bruce Hill
8e23cf25cc Added compatibility for luajit. 2018-02-09 05:22:27 -08:00
Bruce Hill
83eece29e4 Cleaned up code. 2018-02-09 03:48:44 -08:00
Bruce Hill
5074828c3d Added conditional compilation so it works for Lua 5.1, 5.2, 5.3 2018-02-09 02:43:58 -08:00
Bruce Hill
9db58c6b8a Initial commit. 2018-02-09 02:13:07 -08:00