We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef937c commit dc015caCopy full SHA for dc015ca
include/peacalm/luaw.h
@@ -624,6 +624,9 @@ class luaw {
624
void settop(int idx) { lua_settop(L_, idx); }
625
void cleartop() { settop(0); }
626
627
+ /// Whether enough for at least n extra elements.
628
+ bool checkstack(int n) { return lua_checkstack(L_, n); }
629
+
630
// clang-format off
631
int loadstring(const char* s) { return luaL_loadstring(L_, s); }
632
int loadstring(const std::string& s) { return loadstring(s.c_str()); }
0 commit comments