A simple way to do this is to add luaopen_mylib into the list of standard libraries to be opened by luaL_openlibs, in file linit.c.
確定! 回上一頁