예제 #1
0
 public void SetReturnValue(short[] buffer, int ofs, int count)
 {
     if (buffer == null)
     {
         this.SetReturnValue(NSJSValue.Null(this.VirtualMachine));
         return;
     }
     this.SetReturnValue(NSJSInt16Array.New(this.VirtualMachine, buffer, ofs, count));
 }
예제 #2
0
 public void Add(short *buffer, int count)
 {
     if (buffer == null)
     {
         this.Add(NSJSValue.Null(this.VirtualMachine));
         return;
     }
     this.Add(NSJSInt16Array.New(this.VirtualMachine, buffer, count));
 }