public static int test_0_amd64_struct1_gen() { Amd64Struct1Gen <int> s = new Amd64Struct1Gen <int> (); s.i = 5; s.j = -5; s.k = 0xffffff; s.l = 0xfffffff; Amd64Struct1Gen <int> s2 = mono_test_marshal_amd64_pass_return_struct1_gen(s); return(((s2.i == 6) && (s2.j == -4) && (s2.k == 0x1000000) && (s2.l == 0x10000000)) ? 0 : 1); }
public static extern Amd64Struct1Gen <int> mono_test_marshal_amd64_pass_return_struct1_gen(Amd64Struct1Gen <int> s);