Пример #1
0
    /* Test structures as out arguments of delegates */
    public static int test_0_marshal_out_struct_delegate()
    {
        SimpleStruct      ss = new SimpleStruct();
        OutStructDelegate d  = new OutStructDelegate(delegate_test_struct_out);

        return(mono_test_marshal_out_struct(1, out ss, 2, d));
    }
Пример #2
0
	/* Test structures as out arguments of delegates */
	public static int test_0_marshal_out_struct_delegate () {
		SimpleStruct ss = new SimpleStruct ();
		OutStructDelegate d = new OutStructDelegate (delegate_test_struct_out);

		return mono_test_marshal_out_struct (1, out ss, 2, d);
	}
Пример #3
0
	public static extern int mono_test_marshal_out_struct (int a, out SimpleStruct ss, int b, OutStructDelegate d);
Пример #4
0
 public static extern int mono_test_marshal_out_struct(int a, out SimpleStruct ss, int b, OutStructDelegate d);