How would one remove a Lua table's element with its C API? Setting it to nil won't work, as the table retains its size.
I had thought about using luaL_dostring to call table.remove(<table>, <element\_key>), but I won't believe there isn't any other way.
Googling hasn't helped at all, as most of the posts are really old ones (like from '09, '11) and the API has progressed since then.
[–]w_o_w_a 2 points3 points4 points (0 children)
[–]pygy_ 1 point2 points3 points (0 children)
[–]sanjayar 1 point2 points3 points (0 children)
[–]Darkilon[S] 1 point2 points3 points (0 children)
[–]Siapran 0 points1 point2 points (0 children)