那么在c函数中,需要通过lua_tostring(L,1)和lua_tonumber(L,2),分别获取lua传来的两个参数(即:string类型和number类型)。 代码说明. 例如在如下代码中 ...
確定! 回上一頁