private static int LuaRawLen(object v) { if (v == null) { return(0); } else if (v is LuaTable) { return(((LuaTable)v).Length); } else { return(Lua.RtLength(v)); } } // func LuaRawLen
private static int LuaRawLen(object v) { if (v == null) { return(0); } else if (v is LuaTable) { return(((LuaTable)v).Length); } else { return(Lua.RtLength(v)); } } // func LuaRawLen