| 5820 | } |
| 5821 | |
| 5822 | static int push_blob_array(Lua L, struct param_data *p) |
| 5823 | { |
| 5824 | struct { |
| 5825 | size_t len; |
| 5826 | void *data; |
| 5827 | } *bs = p->u.p; |
| 5828 | lua_newtable(L); |
| 5829 | for (int i = 0; i < p->arraylen; ++i) { |
| 5830 | blob_t b = {.length = bs[i].len, .data = bs[i].data}; |
| 5831 | luabb_pushblob(L, &b); |
| 5832 | lua_rawseti(L, -2, i + 1); |
| 5833 | } |
| 5834 | return 0; |
| 5835 | } |
| 5836 | |
| 5837 | static int push_string_array(Lua L, struct param_data *p) |
| 5838 | { |
no test coverage detected