Minor preemptive bugfixes
This commit is contained in:
@@ -80,8 +80,7 @@ static int getDepth(lua_State* L) {
|
|||||||
|
|
||||||
static int load(lua_State* L) {
|
static int load(lua_State* L) {
|
||||||
//EMPTY
|
//EMPTY
|
||||||
lua_pushboolean(L, false);
|
return 0;
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int save(lua_State* L) {
|
static int save(lua_State* L) {
|
||||||
|
|||||||
@@ -59,10 +59,10 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
lua_State* lua = nullptr;
|
lua_State* lua = nullptr;
|
||||||
|
|
||||||
int loadRef;
|
int loadRef = LUA_NOREF;
|
||||||
int saveRef;
|
int saveRef = LUA_NOREF;
|
||||||
int createRef;
|
int createRef = LUA_NOREF;
|
||||||
int unloadRef;
|
int unloadRef = LUA_NOREF;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user