public static unsafe int GetMemAllocInfo <T0>(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] nint context, [Flow(FlowDirection.In)] void *ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] nuint param_value_size, [Flow(FlowDirection.Out)] Span <T0> param_value, [Flow(FlowDirection.Out)] Span <nuint> param_value_size_ret) where T0 : unmanaged
 {
     // SpanOverloader
     return(thisApi.GetMemAllocInfo(context, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference()));
 }
Ejemplo n.º 2
0
 public static unsafe int GetMemAllocInfo(this IntelUnifiedSharedMemory thisApi, [Flow(FlowDirection.In)] IntPtr context, [Flow(FlowDirection.In)] void *ptr, [Flow(FlowDirection.In)] uint param_name, [Flow(FlowDirection.In)] UIntPtr param_value_size, [Flow(FlowDirection.Out)] void *param_value, [Flow(FlowDirection.Out)] Span <UIntPtr> param_value_size_ret)
 {
     // SpanOverloader
     return(thisApi.GetMemAllocInfo(context, ptr, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference()));
 }