|
@@ -126,6 +126,18 @@ public:
|
|
|
lua_remove(m_L, index);
|
|
lua_remove(m_L, index);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ //-----------------------------------------------------------------------------
|
|
|
|
|
+ bool is_nil(int32_t index)
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_isnil(m_L, index);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ //-----------------------------------------------------------------------------
|
|
|
|
|
+ bool is_number(int32_t index)
|
|
|
|
|
+ {
|
|
|
|
|
+ return lua_isnumber(m_L, index);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
//-----------------------------------------------------------------------------
|
|
//-----------------------------------------------------------------------------
|
|
|
void push_nil()
|
|
void push_nil()
|
|
|
{
|
|
{
|