Esempio n. 1
0
        private static void *__CopyValue(global::SharpSDL.MessageBoxButtonData.__Internal native)
        {
            var ret = Marshal.AllocHGlobal(sizeof(global::SharpSDL.MessageBoxButtonData.__Internal));

            *(global::SharpSDL.MessageBoxButtonData.__Internal *)ret = native;
            return(ret.ToPointer());
        }
Esempio n. 2
0
 private MessageBoxButtonData(global::SharpSDL.MessageBoxButtonData.__Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance           = true;
     NativeToManagedMap[__Instance] = this;
 }
Esempio n. 3
0
 internal static global::SharpSDL.MessageBoxButtonData __CreateInstance(global::SharpSDL.MessageBoxButtonData.__Internal native, bool skipVTables = false)
 {
     return(new global::SharpSDL.MessageBoxButtonData(native, skipVTables));
 }