lua_rawgeti (L, LUA_REGISTRYINDEX, lua_callback); ... 索引(目測是陣列的index)。 lua_rawgeti把之前儲存的function物件取出,再由lua_call呼叫。
確定! 回上一頁