#include #include "mpack/lmpack.h" LUA_API int luaopen_nlua0(lua_State* L); LUA_API int luaopen_nlua0(lua_State* L) { lua_getglobal(L, "vim"); luaopen_mpack(L); lua_setfield(L, -2, "mpack"); int luaopen_lpeg(lua_State *); luaopen_lpeg(L); lua_setfield(L, -3, "lpeg"); lua_pop(L, 2); return 1; }