| 5835 | } |
| 5836 | |
| 5837 | static int push_string_array(Lua L, struct param_data *p) |
| 5838 | { |
| 5839 | lua_newtable(L); |
| 5840 | char **ss = p->u.p; |
| 5841 | for (int i = 0; i < p->arraylen; ++i) { |
| 5842 | luabb_pushcstring(L, ss[i]); |
| 5843 | lua_rawseti(L, -2, i + 1); |
| 5844 | } |
| 5845 | return 0; |
| 5846 | } |
| 5847 | |
| 5848 | static int push_i32_array(Lua L, struct param_data *p) |
| 5849 | { |
no test coverage detected