summaryrefslogtreecommitdiff
path: root/include/BLua.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/BLua.h')
-rw-r--r--include/BLua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/BLua.h b/include/BLua.h
index 0dcb524..1ae977f 100644
--- a/include/BLua.h
+++ b/include/BLua.h
@@ -94,7 +94,7 @@ class Lua : public Base {
void copy(int n = -1) { lua_pushvalue(L, n); }
void remove(int n = 1) { lua_remove(L, n); }
void insert(int n = 1) { lua_insert(L, n); }
- void replace(int = 1) { lua_replace(L, n); }
+ void replace(int n = 1) { lua_replace(L, n); }
void newtable() { lua_newtable(L); }
void * newuser(size_t s) { return lua_newuserdata(L, s); }
void settable(int = -3, bool raw = false);
@@ -110,7 +110,7 @@ class Lua : public Base {
bool isboolean(int i = -1) { return lua_isboolean(L, i); }
bool isnumber(int i = -1) { return lua_isnumber(L, i); }
bool isstring(int i = -1) { return lua_isstring(L, i); }
- bool istable(int i = -1) { return lua_isttable(L, i); }
+ bool istable(int i = -1) { return lua_istable(L, i); }
bool isfunction(int i = -1) { return lua_isfunction(L, i); }
bool iscfunction(int i = -1) { return lua_iscfunction(L, i); }
bool isuserdata(int i = -1) { return lua_isuserdata(L, i); }