tomaka / hlua

Rust library to interface with Lua
MIT License
507 stars 48 forks source link

Userdata rework #121

Closed tomaka closed 7 years ago

tomaka commented 7 years ago

Fix #115

The code is now much cleaner, and the type id is now stored directly in memory as described in #115

Not everything has been reworked though. Eventually read_userdata should be split between read_userdata and read_mut_userdata and implement for any L that implements AsLua or AsMutLua. Same for the implement_lua_read! macro that could finally become safe. Unfortunately this is blocked on #118.