Pushing a Lua table

后端 未结 3 1109
无人共我
无人共我 2021-02-14 13:13

I have created a Lua table in C, but I\'m not sure how to push that table onto the top of a stack so I can pass it to a Lua function.

Does anyone know h

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-14 14:07

    I made a small snippet open source that solves pushing simple Lua dictionary tables from C to Lua.

    You can check it out here, should work well.

提交回复
热议问题