public void DebugGet( LuaObject key, out LuaObject outKey, out LuaObject outValue ) { Node node; if( DictPart.TryGetValue( key, out node ) ) { outKey = node.Key; outValue = node.Value; } else { outKey = new LuaNil(); outValue = new LuaNil(); } }
private static int NilK( FuncState fs ) { // // cannot use nil as key; // // instead use table itself to represent nil // var k = fs.H; // var o = new LuaNil(); // return AddK( fs, k, o ); var o = new LuaNil(); return AddK( fs, o, o ); }