public static void IncrementInvertPointerFieldsByRef( [DNNE.C99Type("struct ptr_fields*")] PointerFields *result) { *(result->i) += 1; *(result->b) = !*(result->b); *(result->c) += (char)1; }
public static void IncrementInvertPointerFieldsRefReturn( [DNNE.C99Type("struct ptr_fields")] PointerFields input, [DNNE.C99Type("struct ptr_fields*")] PointerFields *result) { *(result->i) = *(input.i) + 1; *(result->b) = !(*input.b); *(result->c) = (char)(*(input.c) + 1); }