Beispiel #1
0
    /* Test string builder marshalling with delegates */
    public static int test_0_marshal_string_builder_delegate()
    {
        SimpleDelegate11 d = new SimpleDelegate11(delegate_test_string_builder_marshalling);

        if (mono_test_marshal_delegate11(d, null) != 2)
        {
            return(2);
        }

        return(mono_test_marshal_delegate11(d, "ABC"));
    }
Beispiel #2
0
	/* Test string builder marshalling with delegates */
	public static int test_0_marshal_string_builder_delegate () {
		SimpleDelegate11 d = new SimpleDelegate11 (delegate_test_string_builder_marshalling);

		if (mono_test_marshal_delegate11 (d, null) != 2)
			return 2;

		return mono_test_marshal_delegate11 (d, "ABC");
	}
Beispiel #3
0
	public static extern int mono_test_marshal_delegate11 (SimpleDelegate11 d, string s);
Beispiel #4
0
 public static extern int mono_test_marshal_delegate11(SimpleDelegate11 d, string s);