kyren
c22aae461b
Some changes for panic correctness, stack usage correctness, and speed
2018-02-12 13:54:31 -05:00
kyren
60743d45cd
Move all tests into a tests/ subfolder
2018-02-09 23:52:05 -05:00
kyren
d331e4b97c
Error correctly on too many arguments / returns / binds / recursions
...
There are also some other drive-by changes to fix panicking in extern "C"
functions and other edge case stack errors
2018-02-09 23:40:23 -05:00
kyren
ad23fe83e0
auto formatting
2017-12-16 17:46:32 -05:00
kyren
66a4e9a8e7
Add ExpiredUserData error and avoid what was previously a panic
...
Also make sure that panic messages clearly state that they are internal errors,
so people report them as a bug. Since the only panics left are all internal
errors, just move the internal error message into the panic / assert macros.
2017-12-04 02:50:27 -05:00
kyren
0c644e7136
more reorganization in an attempt to shrink the size of lua.rs
2017-12-04 01:04:12 -05:00
kyren
a44b6b5170
Move function and thread into their own modules, auto-formatting
2017-12-04 00:57:39 -05:00