public static void DoubleIntFieldsByRef( [DNNE.C99Type("struct int_fields*")] IntFields *result) { result->a *= 2; result->b *= 2; result->c *= 2; }
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; }
public static unsafe partial void DoubleIntFields_Ptr(IntFields *result);