Ejemplo n.º 1
0
 public static unsafe void GetSource(int source, SourceInteger64 param, Span <long> values)
 {
     // FIXME: Should we do a range check here to see that the span is big enough?
     fixed(long *ptr = &values[0])
     {
         GetSource(source, param, ptr);
     }
 }
Ejemplo n.º 2
0
        public static unsafe void GetSource(int source, SourceInteger64 param, out int value1, out int value2, out long value3)
        {
            int *values = stackalloc int[4];

            GetSource(source, param, (long *)values);
            value1 = values[0];
            value2 = values[1];
            value3 = ((long *)values)[2];
        }
Ejemplo n.º 3
0
 public static void GetSource(int source, SourceInteger64 param, long[] values) => _GetSourcei64vArray(source, param, values);
Ejemplo n.º 4
0
 private static void GetSource(int source, SourceInteger64 param, out long values) => _GetSourcei64vRef(source, param, out values);
Ejemplo n.º 5
0
 public static unsafe void GetSource(int source, SourceInteger64 param, long *values) => _GetSourcei64vPtr(source, param, values);
Ejemplo n.º 6
0
 public static void GetSource(int source, SourceInteger64 param, Span <long> values)
 {
     GetSource(source, param, ref values[0]);
 }
Ejemplo n.º 7
0
 public static void GetSource(int source, SourceInteger64 param, ref long values) => _GetSourcei64vRef(source, param, ref values);