#include #include #include "window.h" __attribute__((visibility ("default"))) int luaopen_libluiml(lua_State *L) { static const struct luaL_Reg libluiml[] = { {"create_window", create_window}, {NULL, NULL}, }; lua_createtable(L, 0, 1); luaL_register(L, NULL, libluiml); return 1; }