Step 3: Register the library int luaopen_test (lua_State *L) {. luaL_register(L, "test", testlib); return 1;. } Mapping Struct. Lua name for library ...
確定! 回上一頁