public void SetReturnValue(double[] buffer, int ofs, int count) { if (buffer == null) { this.SetReturnValue(NSJSValue.Null(this.VirtualMachine)); return; } this.SetReturnValue(NSJSFloat64Array.New(this.VirtualMachine, buffer, ofs, count)); }
public void Add(double *buffer, int count) { if (buffer == null) { this.Add(NSJSValue.Null(this.VirtualMachine)); return; } this.Add(NSJSFloat64Array.New(this.VirtualMachine, buffer, count)); }