示例#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
文件: pinvoke3.cs 项目: GirlD/mono
	/* 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
文件: pinvoke3.cs 项目: GirlD/mono
	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);