Example #1
0
        public static bool test2()
        {
            TestDataStruct myTest= new TestDataStruct();
            myTest.x = 0.1f;
            myTest.y = 0.2f;
            myTest.z = 0.3f;
            myTest.id = 5;
            myTest.elementNumber = 7;
            TestStructExtreme(myTest);

            return true;
        }
Example #2
0
        public static bool test2()
        {
            TestDataStruct myTest = new TestDataStruct();

            myTest.x             = 0.1f;
            myTest.y             = 0.2f;
            myTest.z             = 0.3f;
            myTest.id            = 5;
            myTest.elementNumber = 7;
            TestStructExtreme(myTest);

            return(true);
        }
Example #3
0
 public static extern void TestStructExtreme(TestDataStruct
     foo);
Example #4
0
 public static extern void TestStructExtreme(TestDataStruct
                                             foo);