当”栈”中包含执行脚本需要的所有要素(函数名和参数)后,调用lua_pcall执行脚本:. C++. 1. int(lua_pcall)(lua_State*L,intnargs,intnresults,interrfunc);.
確定! 回上一頁