|
On 23.11.2011 14:12, Pierre Chapuis wrote:
On 23.11.2011 13:33, Alexander Nasonov wrote:- msgpack_unpack_next C function because LuaJIT doesn't support bool/_Bool in return type. If I change it to int (and "not ok" to "ok == 0"), v.lua from LuaJIT stops complaining about unsupported function. To do it properly you need to wrap msgpack_unpack_next but it'd be nice to hear from Mike about supporting bool in LuaJIT.I could do that.
Done. https://github.com/catwell/luajit-msgpack/commit/812546ced1072f9ea019881c9fb2d73e6fbae030 There are other problems (NYI: FastFunc pairs [...] fallback to interpreter) but it would be difficult to avoid them.