Exemple #1
0
    public static int test_0_In_Args_Value_In_RCX_Managed()
    {
        int retCode;

        managed_struct1_delegate s1Del = new managed_struct1_delegate(managed_struct1_test);

        //
        //  Beginn Aenderung Test
        //
        Console.WriteLine("\n\t****C#: managed_struct1_delegate s1Del = new managed_struct1_delegate (managed_struct1_test) done ****\n");
        //
        //  Ende Aenderung Test
        //
        if ((retCode = mono_test_managed_Winx64_struct1_in(s1Del)) != 0)
        {
            return(100 + retCode);
        }
        //
        //  Beginn Aenderung Test
        //
        Console.WriteLine("\n\t****C#: mono_test_managed_Winx64_struct1_in (s1Del) done ****\n");
        //
        //  Ende Aenderung Test
        //
        return(0);
    }
Exemple #2
0
    public static int test_0_In_Args_Value_In_RCX_Managed()
    {
        int retCode;

        managed_struct1_delegate s1Del = new managed_struct1_delegate(managed_struct1_test);

        if ((retCode = mono_test_managed_Winx64_struct1_in(s1Del)) != 0)
        {
            return(100 + retCode);
        }

        return(0);
    }
Exemple #3
0
 static extern int mono_test_managed_Winx64_struct1_in(managed_struct1_delegate func);
 public static int test_0_In_Args_Value_In_RCX_Managed()
 {
     int
     retCode;
     managed_struct1_delegate
     s1Del
     =
     new
     managed_struct1_delegate
     (managed_struct1_test);
     if
     ((retCode
     =
     mono_test_managed_Winx64_struct1_in
     (s1Del))
     !=
     0)
     return
     100
     +
     retCode;
     return
     0;
 }
    static extern int mono_test_managed_Winx64_struct1_in(managed_struct1_delegate
func);