C++:和Lua互传结构体 main.cpp test.lua main.cpp #include "stdio.h" extern "C" { #include "lua/lua.h" #include "lua/lualib.h"<