diff options
author | Pixel <pixel@nobis-crew.org> | 2009-11-13 17:57:48 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-11-13 17:57:48 -0800 |
commit | d44a0ff2b5549084e1e7e7a2bcb8865049197268 (patch) | |
tree | 0a00317059c2722e4df9910f297e71c2d326407b /include | |
parent | af9a1827909ee4cfdc87ce7c63730a5c6dd5b244 (diff) |
Typos.
Diffstat (limited to 'include')
-rw-r--r-- | include/BLua.h | 4 |
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); } |