Ejemplo n.º 1
0
    /* Test structures as in arguments of delegates */
    public static int test_0_marshal_in_struct_delegate()
    {
        SimpleStruct ss = new SimpleStruct()
        {
            a = true, b = false, c = true, d = "TEST2"
        };
        InStructDelegate d = new InStructDelegate(delegate_test_struct_in);

        return(mono_test_marshal_in_struct(1, ref ss, 2, d));
    }
Ejemplo n.º 2
0
	/* Test structures as in arguments of delegates */
	public static int test_0_marshal_in_struct_delegate () {
		SimpleStruct ss = new SimpleStruct () { a = true, b = false, c = true, d = "TEST2" };
		InStructDelegate d = new InStructDelegate (delegate_test_struct_in);

		return mono_test_marshal_in_struct (1, ref ss, 2, d);
	}
Ejemplo n.º 3
0
	public static extern int mono_test_marshal_in_struct (int a, ref SimpleStruct ss, int b, InStructDelegate d);
Ejemplo n.º 4
0
 public static extern int mono_test_marshal_in_struct(int a, ref SimpleStruct ss, int b, InStructDelegate d);