Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LUALIB_API int luaopen_base(lua_State *L)
- {
- int retval = 1;
- base_open(L);
- luaL_register(L, LUA_COLIBNAME, co_funcs);
- #ifndef COCO_DISABLE
- lua_pushboolean(L, 1);
- lua_setfield(L, -2, "coco");
- retval += 1;
- #endif
- retval += luaopen_debug(L);
- return retval;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement