예제 #1
0
        public static unsafe long Export196(global::CLRLibraryDllExportDefinition.uvec3 *u)
        //public static long Export196(ref global::CLRLibraryDllExportDefinition.uvec3 u)
        {
            //Error CS0208  Cannot take the address of, get the size of, or declare a pointer to a managed type('uvec3')   TestSwitchToCLR Program.cs  38

            var loc0 = u;

            //return u->x;
            return(loc0->x);
            //return u.x;
        }
예제 #2
0
        public static unsafe long Export196(global::CLRLibraryDllExportDefinition.uvec3 *u)
        //public static long Export196(ref global::CLRLibraryDllExportDefinition.uvec3 u)
        {
            //Error CS0208  Cannot take the address of, get the size of, or declare a pointer to a managed type('uvec3')   TestSwitchToCLR Program.cs  38

            //          > CLRLibraryCSharp.exe!CLRLibraryCSharp.Class1.Export196(CLRLibraryDllExportDefinition.uvec3 * u) Line 184 C#
            //CLRLibrary.dll!CLRLibrary.Class1.Export196(CLRLibraryDllExportDefinition.uvec3 * u) Line 135 Unknown
            //    [Native to Managed Transition]
            //  TestSwitchToCLR.exe!TestSwitchToCLR_Program_Invoke196(void* x) Line 96 C
            //  TestSwitchToCLR.exe!main(char * *args) Line 69 C


            return(u->x);
            //return u.x;
        }
예제 #3
0
 extern unsafe static long Export196(global::CLRLibraryDllExportDefinition.uvec3 *u);