Example #1
0
    public static int test_105_marshal_long_align_struct_array()
    {
        LongAlignStruct[] ss_arr = new LongAlignStruct [2];

        LongAlignStruct ss = new LongAlignStruct();

        ss.a = 5;
        ss.b = 10;
        ss.c = 15;

        ss_arr [0] = ss;

        ss.a = 20;
        ss.b = 25;
        ss.c = 30;

        ss_arr [1] = ss;

        return(mono_test_marshal_long_align_struct_array(ss_arr));
    }
Example #2
0
 public static extern int mono_test_marshal_long_align_struct_array(LongAlignStruct[] ss);
Example #3
0
    public static int test_105_marshal_long_align_struct_array()
    {
        LongAlignStruct[] ss_arr = new LongAlignStruct [2];

        LongAlignStruct ss = new LongAlignStruct ();
        ss.a = 5;
        ss.b = 10;
        ss.c = 15;

        ss_arr [0] = ss;

        ss.a = 20;
        ss.b = 25;
        ss.c = 30;

        ss_arr [1] = ss;

        return mono_test_marshal_long_align_struct_array (ss_arr);
    }