Skip to content
Snippets Groups Projects
Commit a3143c89 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Refactor luaL_pushcdata() and luaL_setcdatagc()

Replace copy-pasted code by calls to LuaJIT internal API.
Remove useless memset(). Remove size argument from luaL_pushcdata().
Add comments and try to make this stuff to be more clear.
parent 2d578616
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment