https://kevinlynx.cc/posts/lua-function-arg/
传递Lua函数到C/C++中 - Loop in Codes