... 的,我们可以通过编写新的C函数来扩展Lua。 先编写C函数; int add(lua_State *L){ int num1 = lua_tonumber(L, 1); int num2 = lua_tonumber(L, 2); int sum =.
確定! 回上一頁