hlua/lua52-sys/src
Siddharth Agarwal ed51538105 [lua52-sys] add ref/unref functions and helper constants
These are useful when adding things to the Lua registry. From the
documentation at http://pgl.yoyo.org/luai/i/luaL_ref:

> As long as you do not manually add integer keys into table t, luaL_ref
> ensures the uniqueness of the key it returns.

This can be done by hand with (say) an `AtomicIsize`, but it's just
easier to use these functions.
2017-08-28 12:55:53 -07:00
..
lib.rs [lua52-sys] add ref/unref functions and helper constants 2017-08-28 12:55:53 -07:00