Esempio n. 1
0
 public void setup()
 {
     u = new _union {
         u = 0xDEADBEEF
     };
     b = new byte[] { 0xEF, 0xBE, 0xAD, 0xDE };
 }
            internal static void union(IntPtr thisPtr, int argc, string[] argv)
            {
                if (_unionFunc == null)
                {
                    _unionFunc =
                        (_union)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                           "fn_WorldEditorSelection_union"), typeof(_union));
                }

                _unionFunc(thisPtr, argc, argv);
            }