Example #1
0
 public static unsafe void GetSync(this ArbSync thisApi, [Flow(FlowDirection.In)] nint sync, [Flow(FlowDirection.In)] SyncParameterName pname, [Flow(FlowDirection.In)] uint count, [Count(Count = 1), Flow(FlowDirection.Out)] Span <uint> length, [Count(Parameter = "count"), Flow(FlowDirection.Out)] Span <int> values)
 {
     // SpanOverloader
     thisApi.GetSync(sync, pname, count, out length.GetPinnableReference(), out values.GetPinnableReference());
 }
Example #2
0
 public static unsafe void GetInteger64(this ArbSync thisApi, [Flow(FlowDirection.In)] GetPName pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <long> data)
 {
     // SpanOverloader
     thisApi.GetInteger64(pname, out data.GetPinnableReference());
 }