Ejemplo n.º 1
0
 public void SetReturnValue(ushort[] buffer, int ofs, int count)
 {
     if (buffer == null)
     {
         this.SetReturnValue(NSJSValue.Null(this.VirtualMachine));
         return;
     }
     this.SetReturnValue(NSJSUInt16Array.New(this.VirtualMachine, buffer, ofs, count));
 }
Ejemplo n.º 2
0
 public void Add(ushort *buffer, int count)
 {
     if (buffer == null)
     {
         this.Add(NSJSValue.Null(this.VirtualMachine));
         return;
     }
     this.Add(NSJSUInt16Array.New(this.VirtualMachine, buffer, count));
 }