예제 #1
0
        private static void *_CopyValue(Foundation.ATJSONParseErrorUnsafe._Internal native)
        {
            var ret = Marshal.AllocHGlobal(sizeof(Foundation.ATJSONParseErrorUnsafe._Internal));

            *(Foundation.ATJSONParseErrorUnsafe._Internal *)ret = native;
            return(ret.ToPointer());
        }
예제 #2
0
 private ATJSONParseErrorUnsafe(Foundation.ATJSONParseErrorUnsafe._Internal native, bool skipVTables = false)
     : this(_CopyValue(native), skipVTables)
 {
     _ownsNativeInstance           = true;
     NativeToManagedMap[_Instance] = this;
 }
예제 #3
0
 internal static Foundation.ATJSONParseErrorUnsafe _CreateInstance(Foundation.ATJSONParseErrorUnsafe._Internal native, bool skipVTables = false)
 {
     return(new Foundation.ATJSONParseErrorUnsafe(native, skipVTables));
 }