Exemple #1
0
 public StackIndex(lua.State L, int index)
 {
     //Trace.TraceInformation("new StackIndex({0},{1})", L, index);
     L.NullCheck("L");
     if (index == 0)
     {
         throw new ArgumentOutOfRangeException("index");
     }
     this.L = L; this.Index = index;
 }
Exemple #2
0
 public void push()
 {
     _log("push()"); L.NullCheck(); lua.pushvalue(L, Index);
 }