| 5846 | } |
| 5847 | |
| 5848 | static int push_i32_array(Lua L, struct param_data *p) |
| 5849 | { |
| 5850 | lua_newtable(L); |
| 5851 | int32_t *is = p->u.p; |
| 5852 | for (int i = 0; i < p->arraylen; ++i) { |
| 5853 | luabb_pushinteger(L, is[i]); |
| 5854 | lua_rawseti(L, -2, i + 1); |
| 5855 | } |
| 5856 | return 0; |
| 5857 | } |
| 5858 | |
| 5859 | static int push_i64_array(Lua L, struct param_data *p) |
| 5860 | { |
no test coverage detected