-
Notifications
You must be signed in to change notification settings - Fork 121
Closed
Description
Currently lua-cmsgpack uses malloc. This is not very nice to users who configure Lua state to use their own allocator.
Use lua_getallocf instead: http://www.lua.org/manual/5.1/manual.html#lua_getallocf
Here is an example: https://github.com/agladysh/luabins/blob/master/src/savebuffer.c#L96
Metadata
Metadata
Assignees
Labels
No labels