hlua
hlua copied to clipboard
Follow up to #222: fix signatures of luaopen_* functions in hlua
Ah, I forgot to update the main library, which was definitely wrong.
These functions are not documented at all, but looking at their source code they push a table on the stack, so we don't want to just expose them. Instead, they should at least return a PushGuard.
Oh well, I'm just here to silence some compilation issues. To me it'd be fine if these fns continued to not return anything.
Looking at the code, I'm not confident at all in how I should create these PushGuards :) Maybe you can help?
Could someone perhaps take a look at this and possibly merge + release it? Without this, we currently can't build libremarkable which prevents us from publishing to crates.io (because depending on git urls is not allowed).
https://haste.cosmos-ink.net/onyxibejiw.vt100