/* 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")); }
/* 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"); }
public static extern int mono_test_marshal_delegate11 (SimpleDelegate11 d, string s);
public static extern int mono_test_marshal_delegate11(SimpleDelegate11 d, string s);