Esempio n. 1
0
 public static void DoubleIntFieldsByRef(
     [DNNE.C99Type("struct int_fields*")] IntFields *result)
 {
     result->a *= 2;
     result->b *= 2;
     result->c *= 2;
 }
Esempio n. 2
0
 public static void DoubleIntFieldsRefReturn(
     [DNNE.C99Type("struct int_fields")] IntFields input,
     [DNNE.C99Type("struct int_fields*")] IntFields *result)
 {
     result->a = input.a * 2;
     result->b = input.b * 2;
     result->c = input.c * 2;
 }
Esempio n. 3
0
 public static unsafe partial void DoubleIntFields_Ptr(IntFields *result);