|
|
|
@ -2987,19 +2987,16 @@ namespace CppSharp
@@ -2987,19 +2987,16 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public unsafe partial class LayoutField : IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 44)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 40)] |
|
|
|
|
public partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
|
public global::System.IntPtr _Namespace; |
|
|
|
|
|
|
|
|
|
[FieldOffset(4)] |
|
|
|
|
public uint Offset; |
|
|
|
|
|
|
|
|
|
[FieldOffset(32)] |
|
|
|
|
[FieldOffset(28)] |
|
|
|
|
public CppSharp.Parser.AST.QualifiedType.Internal QualifiedType; |
|
|
|
|
|
|
|
|
|
[FieldOffset(40)] |
|
|
|
|
[FieldOffset(36)] |
|
|
|
|
public global::System.IntPtr FieldPtr; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
@ -3010,7 +3007,7 @@ namespace CppSharp
@@ -3010,7 +3007,7 @@ namespace CppSharp
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??0LayoutField@AST@CppParser@CppSharp@@QAE@ABV0123@@Z")] |
|
|
|
|
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
|
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr other); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
@ -3048,7 +3045,7 @@ namespace CppSharp
@@ -3048,7 +3045,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(LayoutField.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(44); |
|
|
|
|
var ret = Marshal.AllocHGlobal(40); |
|
|
|
|
CppSharp.Parser.AST.LayoutField.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
@ -3069,20 +3066,20 @@ namespace CppSharp
@@ -3069,20 +3066,20 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public LayoutField() |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(44); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(40); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public LayoutField(CppSharp.Parser.AST.LayoutField _0) |
|
|
|
|
public LayoutField(CppSharp.Parser.AST.LayoutField other) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(44); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(40); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
|
throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); |
|
|
|
|
var __arg0 = _0.__Instance; |
|
|
|
|
if (ReferenceEquals(other, null)) |
|
|
|
|
throw new global::System.ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); |
|
|
|
|
var __arg0 = other.__Instance; |
|
|
|
|
Internal.cctor_1((__Instance + __PointerAdjustment), __arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -3116,67 +3113,180 @@ namespace CppSharp
@@ -3116,67 +3113,180 @@ namespace CppSharp
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.DeclarationContext _Namespace |
|
|
|
|
public uint Offset |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
CppSharp.Parser.AST.DeclarationContext __result0; |
|
|
|
|
if (((Internal*) __Instance)->_Namespace == IntPtr.Zero) __result0 = null; |
|
|
|
|
else if (CppSharp.Parser.AST.DeclarationContext.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->_Namespace)) |
|
|
|
|
__result0 = (CppSharp.Parser.AST.DeclarationContext) CppSharp.Parser.AST.DeclarationContext.NativeToManagedMap[((Internal*) __Instance)->_Namespace]; |
|
|
|
|
else __result0 = CppSharp.Parser.AST.DeclarationContext.__CreateInstance(((Internal*) __Instance)->_Namespace); |
|
|
|
|
return __result0; |
|
|
|
|
return ((Internal*) __Instance)->Offset; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->_Namespace = ReferenceEquals(value, null) ? global::System.IntPtr.Zero : value.__Instance; |
|
|
|
|
((Internal*) __Instance)->Offset = value; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public uint Offset |
|
|
|
|
public CppSharp.Parser.AST.QualifiedType QualifiedType |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
return ((Internal*) __Instance)->Offset; |
|
|
|
|
return CppSharp.Parser.AST.QualifiedType.__CreateInstance(((Internal*) __Instance)->QualifiedType); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->Offset = value; |
|
|
|
|
((Internal*) __Instance)->QualifiedType = ReferenceEquals(value, null) ? new CppSharp.Parser.AST.QualifiedType.Internal() : *(CppSharp.Parser.AST.QualifiedType.Internal*) (value.__Instance); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.QualifiedType QualifiedType |
|
|
|
|
public global::System.IntPtr FieldPtr |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
return CppSharp.Parser.AST.QualifiedType.__CreateInstance(((Internal*) __Instance)->QualifiedType); |
|
|
|
|
return ((Internal*) __Instance)->FieldPtr; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->QualifiedType = ReferenceEquals(value, null) ? new CppSharp.Parser.AST.QualifiedType.Internal() : *(CppSharp.Parser.AST.QualifiedType.Internal*) (value.__Instance); |
|
|
|
|
((Internal*) __Instance)->FieldPtr = (global::System.IntPtr) value; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public global::System.IntPtr FieldPtr |
|
|
|
|
public unsafe partial class LayoutBase : IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
|
|
|
public partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
|
public uint Offset; |
|
|
|
|
|
|
|
|
|
[FieldOffset(4)] |
|
|
|
|
public global::System.IntPtr Class; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??0LayoutBase@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
|
internal static extern global::System.IntPtr ctor_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??0LayoutBase@AST@CppParser@CppSharp@@QAE@ABV0123@@Z")] |
|
|
|
|
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr other); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??1LayoutBase@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
|
internal static extern void dtor_0(global::System.IntPtr instance, int delete); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
|
|
|
|
|
|
protected int __PointerAdjustment; |
|
|
|
|
public static readonly System.Collections.Concurrent.ConcurrentDictionary<IntPtr, LayoutBase> NativeToManagedMap = new System.Collections.Concurrent.ConcurrentDictionary<IntPtr, LayoutBase>(); |
|
|
|
|
protected void*[] __OriginalVTables; |
|
|
|
|
|
|
|
|
|
protected bool __ownsNativeInstance; |
|
|
|
|
|
|
|
|
|
public static LayoutBase __CreateInstance(global::System.IntPtr native, bool skipVTables = false) |
|
|
|
|
{ |
|
|
|
|
return new LayoutBase(native.ToPointer(), skipVTables); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static LayoutBase __CreateInstance(LayoutBase.Internal native, bool skipVTables = false) |
|
|
|
|
{ |
|
|
|
|
return new LayoutBase(native, skipVTables); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(LayoutBase.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(8); |
|
|
|
|
CppSharp.Parser.AST.LayoutBase.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private LayoutBase(LayoutBase.Internal native, bool skipVTables = false) |
|
|
|
|
: this(__CopyValue(native), skipVTables) |
|
|
|
|
{ |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected LayoutBase(void* native, bool skipVTables = false) |
|
|
|
|
{ |
|
|
|
|
if (native == null) |
|
|
|
|
return; |
|
|
|
|
__Instance = new global::System.IntPtr(native); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public LayoutBase() |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(8); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public LayoutBase(CppSharp.Parser.AST.LayoutBase other) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(8); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(other, null)) |
|
|
|
|
throw new global::System.ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); |
|
|
|
|
var __arg0 = other.__Instance; |
|
|
|
|
Internal.cctor_1((__Instance + __PointerAdjustment), __arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void Dispose() |
|
|
|
|
{ |
|
|
|
|
Dispose(disposing: true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected virtual void Dispose(bool disposing) |
|
|
|
|
{ |
|
|
|
|
CppSharp.Parser.AST.LayoutBase __dummy; |
|
|
|
|
NativeToManagedMap.TryRemove(__Instance, out __dummy); |
|
|
|
|
Internal.dtor_0((__Instance + __PointerAdjustment), 0); |
|
|
|
|
if (__ownsNativeInstance) |
|
|
|
|
Marshal.FreeHGlobal(__Instance); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public uint Offset |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
return ((Internal*) __Instance)->FieldPtr; |
|
|
|
|
return ((Internal*) __Instance)->Offset; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->FieldPtr = (global::System.IntPtr) value; |
|
|
|
|
((Internal*) __Instance)->Offset = value; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.Class Class |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
CppSharp.Parser.AST.Class __result0; |
|
|
|
|
if (((Internal*) __Instance)->Class == IntPtr.Zero) __result0 = null; |
|
|
|
|
else if (CppSharp.Parser.AST.Class.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Class)) |
|
|
|
|
__result0 = (CppSharp.Parser.AST.Class) CppSharp.Parser.AST.Class.NativeToManagedMap[((Internal*) __Instance)->Class]; |
|
|
|
|
else __result0 = CppSharp.Parser.AST.Class.__CreateInstance(((Internal*) __Instance)->Class); |
|
|
|
|
return __result0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->Class = ReferenceEquals(value, null) ? global::System.IntPtr.Zero : value.__Instance; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public unsafe partial class ClassLayout : IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 60)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 72)] |
|
|
|
|
public partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
@ -3245,6 +3355,21 @@ namespace CppSharp
@@ -3245,6 +3355,21 @@ namespace CppSharp
|
|
|
|
|
EntryPoint="?clearFields@ClassLayout@AST@CppParser@CppSharp@@QAEXXZ")] |
|
|
|
|
internal static extern void clearFields_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getBases@ClassLayout@AST@CppParser@CppSharp@@QAE?AVLayoutBase@234@I@Z")] |
|
|
|
|
internal static extern void getBases_0(global::System.IntPtr instance, global::System.IntPtr @return, uint i); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?addBases@ClassLayout@AST@CppParser@CppSharp@@QAEXAAVLayoutBase@234@@Z")] |
|
|
|
|
internal static extern void addBases_0(global::System.IntPtr instance, global::System.IntPtr s); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?clearBases@ClassLayout@AST@CppParser@CppSharp@@QAEXXZ")] |
|
|
|
|
internal static extern void clearBases_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getVFTablesCount@ClassLayout@AST@CppParser@CppSharp@@QAEIXZ")] |
|
|
|
@ -3254,6 +3379,11 @@ namespace CppSharp
@@ -3254,6 +3379,11 @@ namespace CppSharp
|
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getFieldsCount@ClassLayout@AST@CppParser@CppSharp@@QAEIXZ")] |
|
|
|
|
internal static extern uint getFieldsCount_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getBasesCount@ClassLayout@AST@CppParser@CppSharp@@QAEIXZ")] |
|
|
|
|
internal static extern uint getBasesCount_0(global::System.IntPtr instance); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
@ -3276,7 +3406,7 @@ namespace CppSharp
@@ -3276,7 +3406,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(ClassLayout.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(60); |
|
|
|
|
var ret = Marshal.AllocHGlobal(72); |
|
|
|
|
CppSharp.Parser.AST.ClassLayout.Internal.cctor_2(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
@ -3297,7 +3427,7 @@ namespace CppSharp
@@ -3297,7 +3427,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public ClassLayout() |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(60); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(72); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
@ -3305,7 +3435,7 @@ namespace CppSharp
@@ -3305,7 +3435,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public ClassLayout(CppSharp.Parser.AST.ClassLayout _0) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(60); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(72); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
@ -3368,6 +3498,26 @@ namespace CppSharp
@@ -3368,6 +3498,26 @@ namespace CppSharp
|
|
|
|
|
Internal.clearFields_0((__Instance + __PointerAdjustment)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.LayoutBase getBases(uint i) |
|
|
|
|
{ |
|
|
|
|
var __ret = new CppSharp.Parser.AST.LayoutBase.Internal(); |
|
|
|
|
Internal.getBases_0((__Instance + __PointerAdjustment), new IntPtr(&__ret), i); |
|
|
|
|
return CppSharp.Parser.AST.LayoutBase.__CreateInstance(__ret); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void addBases(CppSharp.Parser.AST.LayoutBase s) |
|
|
|
|
{ |
|
|
|
|
if (ReferenceEquals(s, null)) |
|
|
|
|
throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); |
|
|
|
|
var __arg0 = s.__Instance; |
|
|
|
|
Internal.addBases_0((__Instance + __PointerAdjustment), __arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void clearBases() |
|
|
|
|
{ |
|
|
|
|
Internal.clearBases_0((__Instance + __PointerAdjustment)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public uint VFTablesCount |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
@ -3386,6 +3536,15 @@ namespace CppSharp
@@ -3386,6 +3536,15 @@ namespace CppSharp
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public uint BasesCount |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
var __ret = Internal.getBasesCount_0((__Instance + __PointerAdjustment)); |
|
|
|
|
return __ret; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.CppAbi ABI |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|