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 TValue(); o.SetNilValue(); return(AddK(fs, ref o, ref o)); }
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 TValue(); o.SetNilValue(); return AddK( fs, ref o, ref o ); }