mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
even more boilerplate code
This commit is contained in:
parent
7792c1a6f4
commit
5c23b4125d
11 changed files with 220 additions and 72 deletions
|
|
@ -31,6 +31,7 @@ namespace lua {
|
|||
int pushivec3(luaint x, luaint y, luaint z);
|
||||
int pushinteger(luaint x);
|
||||
int pushnumber(luanumber x);
|
||||
int pushboolean(bool x);
|
||||
int pushstring(const std::string& str);
|
||||
int pushenv(int env);
|
||||
int pushvalue(int idx);
|
||||
|
|
@ -42,6 +43,7 @@ namespace lua {
|
|||
bool toboolean(int idx);
|
||||
luaint tointeger(int idx);
|
||||
luanumber tonumber(int idx);
|
||||
const char* tostring(int idx);
|
||||
int call(int argc);
|
||||
int callNoThrow(int argc);
|
||||
int execute(int env, const std::string& src, const std::string& file="<string>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue