summaryrefslogtreecommitdiff
path: root/lib/BLua.cc
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2008-09-26 14:52:14 -0700
committerPixel <pixel@nobis-crew.org>2008-09-26 14:52:14 -0700
commit4a84d6f13637f5867ecfaea29446a69278e9afcf (patch)
tree1a043299506d4e314b0fe665a20a833e65d1c994 /lib/BLua.cc
parent0407ac7fb3103b7c162575d204c1147ab0ffac10 (diff)
Fixing MSVC whinnings.
Diffstat (limited to 'lib/BLua.cc')
-rw-r--r--lib/BLua.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc
index 4642386..9e7057f 100644
--- a/lib/BLua.cc
+++ b/lib/BLua.cc
@@ -460,6 +460,7 @@ Lua * Lua::Father() {
Lua * Lua::spawn_from_thread(lua_State * __L) {
Lua * L = new Lua(__L);
L->father = Father();
+ return L;
}
void Lua::weaken() {
@@ -1190,12 +1191,15 @@ void Lua::openlib(const String & libname, const luaL_reg *l, int nup) {
luaL_openlib(L, libname.to_charp(), l, nup);
}
+/* ***TODO*** handle the new garbage collection system. */
+
void Lua::setgcthreshold(int newthreshold) {
// lua_setgcthreshold(L, newthreshold);
}
int Lua::getgcthreshold() {
// return lua_getgcthreshold(L);
+ return 0;
}
int Lua::getgccount() {