Пример #1
0
 public void SetReturnValue(int[] buffer, int ofs, int count)
 {
     if (buffer == null)
     {
         this.SetReturnValue(NSJSValue.Null(this.VirtualMachine));
         return;
     }
     this.SetReturnValue(NSJSInt32Array.New(this.VirtualMachine, buffer, ofs, count));
 }
Пример #2
0
 public void Add(int *buffer, int count)
 {
     if (buffer == null)
     {
         this.Add(NSJSValue.Null(this.VirtualMachine));
         return;
     }
     this.Add(NSJSInt32Array.New(this.VirtualMachine, buffer, count));
 }