|
|
|
@ -37,30 +37,31 @@ namespace CppSharp
@@ -37,30 +37,31 @@ namespace CppSharp
|
|
|
|
|
{ |
|
|
|
|
DeclarationContext = 0, |
|
|
|
|
Typedef = 1, |
|
|
|
|
Parameter = 2, |
|
|
|
|
Function = 3, |
|
|
|
|
Method = 4, |
|
|
|
|
Enumeration = 5, |
|
|
|
|
EnumerationItem = 6, |
|
|
|
|
Variable = 7, |
|
|
|
|
Field = 8, |
|
|
|
|
AccessSpecifier = 9, |
|
|
|
|
Class = 10, |
|
|
|
|
Template = 11, |
|
|
|
|
TypeAliasTemplate = 12, |
|
|
|
|
ClassTemplate = 13, |
|
|
|
|
ClassTemplateSpecialization = 14, |
|
|
|
|
ClassTemplatePartialSpecialization = 15, |
|
|
|
|
FunctionTemplate = 16, |
|
|
|
|
Namespace = 17, |
|
|
|
|
PreprocessedEntity = 18, |
|
|
|
|
MacroDefinition = 19, |
|
|
|
|
MacroExpansion = 20, |
|
|
|
|
TranslationUnit = 21, |
|
|
|
|
Friend = 22, |
|
|
|
|
TemplateTemplateParm = 23, |
|
|
|
|
TemplateTypeParm = 24, |
|
|
|
|
NonTypeTemplateParm = 25 |
|
|
|
|
TypeAlias = 2, |
|
|
|
|
Parameter = 3, |
|
|
|
|
Function = 4, |
|
|
|
|
Method = 5, |
|
|
|
|
Enumeration = 6, |
|
|
|
|
EnumerationItem = 7, |
|
|
|
|
Variable = 8, |
|
|
|
|
Field = 9, |
|
|
|
|
AccessSpecifier = 10, |
|
|
|
|
Class = 11, |
|
|
|
|
Template = 12, |
|
|
|
|
TypeAliasTemplate = 13, |
|
|
|
|
ClassTemplate = 14, |
|
|
|
|
ClassTemplateSpecialization = 15, |
|
|
|
|
ClassTemplatePartialSpecialization = 16, |
|
|
|
|
FunctionTemplate = 17, |
|
|
|
|
Namespace = 18, |
|
|
|
|
PreprocessedEntity = 19, |
|
|
|
|
MacroDefinition = 20, |
|
|
|
|
MacroExpansion = 21, |
|
|
|
|
TranslationUnit = 22, |
|
|
|
|
Friend = 23, |
|
|
|
|
TemplateTemplateParm = 24, |
|
|
|
|
TemplateTypeParm = 25, |
|
|
|
|
NonTypeTemplateParm = 26 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public enum AccessSpecifier |
|
|
|
@ -1332,15 +1333,15 @@ namespace CppSharp
@@ -1332,15 +1333,15 @@ namespace CppSharp
|
|
|
|
|
Internal.cctor_2((__Instance + __PointerAdjustment), __arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.TypedefDecl Declaration |
|
|
|
|
public CppSharp.Parser.AST.TypedefNameDecl Declaration |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
CppSharp.Parser.AST.TypedefDecl __result0; |
|
|
|
|
CppSharp.Parser.AST.TypedefNameDecl __result0; |
|
|
|
|
if (((Internal*) __Instance)->Declaration == IntPtr.Zero) __result0 = null; |
|
|
|
|
else if (CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration)) |
|
|
|
|
__result0 = (CppSharp.Parser.AST.TypedefDecl) CppSharp.Parser.AST.TypedefDecl.NativeToManagedMap[((Internal*) __Instance)->Declaration]; |
|
|
|
|
else __result0 = CppSharp.Parser.AST.TypedefDecl.__CreateInstance(((Internal*) __Instance)->Declaration); |
|
|
|
|
else if (CppSharp.Parser.AST.TypedefNameDecl.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->Declaration)) |
|
|
|
|
__result0 = (CppSharp.Parser.AST.TypedefNameDecl) CppSharp.Parser.AST.TypedefNameDecl.NativeToManagedMap[((Internal*) __Instance)->Declaration]; |
|
|
|
|
else __result0 = CppSharp.Parser.AST.TypedefNameDecl.__CreateInstance(((Internal*) __Instance)->Declaration); |
|
|
|
|
return __result0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -4089,7 +4090,7 @@ namespace CppSharp
@@ -4089,7 +4090,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public unsafe partial class DeclarationContext : CppSharp.Parser.AST.Declaration, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 236)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 248)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
@ -4131,7 +4132,7 @@ namespace CppSharp
@@ -4131,7 +4132,7 @@ namespace CppSharp
|
|
|
|
|
[FieldOffset(124)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(232)] |
|
|
|
|
[FieldOffset(244)] |
|
|
|
|
public byte IsAnonymous; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
@ -4239,6 +4240,21 @@ namespace CppSharp
@@ -4239,6 +4240,21 @@ namespace CppSharp
|
|
|
|
|
EntryPoint="?clearTypedefs@DeclarationContext@AST@CppParser@CppSharp@@QAEXXZ")] |
|
|
|
|
internal static extern void clearTypedefs_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getTypeAliases@DeclarationContext@AST@CppParser@CppSharp@@QAEPAVTypeAlias@234@I@Z")] |
|
|
|
|
internal static extern global::System.IntPtr getTypeAliases_0(global::System.IntPtr instance, uint i); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?addTypeAliases@DeclarationContext@AST@CppParser@CppSharp@@QAEXAAPAVTypeAlias@234@@Z")] |
|
|
|
|
internal static extern void addTypeAliases_0(global::System.IntPtr instance, global::System.IntPtr s); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?clearTypeAliases@DeclarationContext@AST@CppParser@CppSharp@@QAEXXZ")] |
|
|
|
|
internal static extern void clearTypeAliases_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getVariables@DeclarationContext@AST@CppParser@CppSharp@@QAEPAVVariable@234@I@Z")] |
|
|
|
@ -4299,6 +4315,11 @@ namespace CppSharp
@@ -4299,6 +4315,11 @@ namespace CppSharp
|
|
|
|
|
EntryPoint="?getTypedefsCount@DeclarationContext@AST@CppParser@CppSharp@@QAEIXZ")] |
|
|
|
|
internal static extern uint getTypedefsCount_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getTypeAliasesCount@DeclarationContext@AST@CppParser@CppSharp@@QAEIXZ")] |
|
|
|
|
internal static extern uint getTypeAliasesCount_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getVariablesCount@DeclarationContext@AST@CppParser@CppSharp@@QAEIXZ")] |
|
|
|
@ -4322,7 +4343,7 @@ namespace CppSharp
@@ -4322,7 +4343,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(DeclarationContext.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(236); |
|
|
|
|
var ret = Marshal.AllocHGlobal(248); |
|
|
|
|
CppSharp.Parser.AST.DeclarationContext.Internal.cctor_2(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
@ -4346,7 +4367,7 @@ namespace CppSharp
@@ -4346,7 +4367,7 @@ namespace CppSharp
|
|
|
|
|
public DeclarationContext(CppSharp.Parser.AST.DeclarationKind kind) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(236); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(248); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
var __arg0 = kind; |
|
|
|
@ -4356,7 +4377,7 @@ namespace CppSharp
@@ -4356,7 +4377,7 @@ namespace CppSharp
|
|
|
|
|
public DeclarationContext(CppSharp.Parser.AST.DeclarationContext _0) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(236); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(248); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
@ -4518,6 +4539,30 @@ namespace CppSharp
@@ -4518,6 +4539,30 @@ namespace CppSharp
|
|
|
|
|
Internal.clearTypedefs_0((__Instance + __PointerAdjustment)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.TypeAlias getTypeAliases(uint i) |
|
|
|
|
{ |
|
|
|
|
var __ret = Internal.getTypeAliases_0((__Instance + __PointerAdjustment), i); |
|
|
|
|
CppSharp.Parser.AST.TypeAlias __result0; |
|
|
|
|
if (__ret == IntPtr.Zero) __result0 = null; |
|
|
|
|
else if (CppSharp.Parser.AST.TypeAlias.NativeToManagedMap.ContainsKey(__ret)) |
|
|
|
|
__result0 = (CppSharp.Parser.AST.TypeAlias) CppSharp.Parser.AST.TypeAlias.NativeToManagedMap[__ret]; |
|
|
|
|
else __result0 = CppSharp.Parser.AST.TypeAlias.__CreateInstance(__ret); |
|
|
|
|
return __result0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void addTypeAliases(CppSharp.Parser.AST.TypeAlias 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.addTypeAliases_0((__Instance + __PointerAdjustment), __arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void clearTypeAliases() |
|
|
|
|
{ |
|
|
|
|
Internal.clearTypeAliases_0((__Instance + __PointerAdjustment)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.Variable getVariables(uint i) |
|
|
|
|
{ |
|
|
|
|
var __ret = Internal.getVariables_0((__Instance + __PointerAdjustment), i); |
|
|
|
@ -4620,6 +4665,15 @@ namespace CppSharp
@@ -4620,6 +4665,15 @@ namespace CppSharp
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public uint TypeAliasesCount |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
var __ret = Internal.getTypeAliasesCount_0((__Instance + __PointerAdjustment)); |
|
|
|
|
return __ret; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public uint VariablesCount |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
@ -4652,7 +4706,148 @@ namespace CppSharp
@@ -4652,7 +4706,148 @@ namespace CppSharp
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public unsafe partial class TypedefDecl : CppSharp.Parser.AST.Declaration, IDisposable |
|
|
|
|
public unsafe partial class TypedefNameDecl : CppSharp.Parser.AST.Declaration, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 136)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
|
public CppSharp.Parser.AST.DeclarationKind Kind; |
|
|
|
|
|
|
|
|
|
[FieldOffset(4)] |
|
|
|
|
public CppSharp.Parser.AST.AccessSpecifier Access; |
|
|
|
|
|
|
|
|
|
[FieldOffset(8)] |
|
|
|
|
public global::System.IntPtr _Namespace; |
|
|
|
|
|
|
|
|
|
[FieldOffset(12)] |
|
|
|
|
public CppSharp.Parser.SourceLocation.Internal Location; |
|
|
|
|
|
|
|
|
|
[FieldOffset(16)] |
|
|
|
|
public int LineNumberStart; |
|
|
|
|
|
|
|
|
|
[FieldOffset(20)] |
|
|
|
|
public int LineNumberEnd; |
|
|
|
|
|
|
|
|
|
[FieldOffset(96)] |
|
|
|
|
public byte IsIncomplete; |
|
|
|
|
|
|
|
|
|
[FieldOffset(97)] |
|
|
|
|
public byte IsDependent; |
|
|
|
|
|
|
|
|
|
[FieldOffset(98)] |
|
|
|
|
public byte IsImplicit; |
|
|
|
|
|
|
|
|
|
[FieldOffset(100)] |
|
|
|
|
public global::System.IntPtr CompleteDeclaration; |
|
|
|
|
|
|
|
|
|
[FieldOffset(104)] |
|
|
|
|
public uint DefinitionOrder; |
|
|
|
|
|
|
|
|
|
[FieldOffset(120)] |
|
|
|
|
public global::System.IntPtr OriginalPtr; |
|
|
|
|
|
|
|
|
|
[FieldOffset(124)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(128)] |
|
|
|
|
public CppSharp.Parser.AST.QualifiedType.Internal QualifiedType; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??0TypedefNameDecl@AST@CppParser@CppSharp@@QAE@W4DeclarationKind@123@@Z")] |
|
|
|
|
internal static extern global::System.IntPtr ctor_0(global::System.IntPtr instance, CppSharp.Parser.AST.DeclarationKind kind); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??0TypedefNameDecl@AST@CppParser@CppSharp@@QAE@ABV0123@@Z")] |
|
|
|
|
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??1TypedefNameDecl@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
|
internal static extern void dtor_0(global::System.IntPtr instance, int delete); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static new TypedefNameDecl __CreateInstance(global::System.IntPtr native, bool skipVTables = false) |
|
|
|
|
{ |
|
|
|
|
return new TypedefNameDecl(native.ToPointer(), skipVTables); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static TypedefNameDecl __CreateInstance(TypedefNameDecl.Internal native, bool skipVTables = false) |
|
|
|
|
{ |
|
|
|
|
return new TypedefNameDecl(native, skipVTables); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(TypedefNameDecl.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(136); |
|
|
|
|
CppSharp.Parser.AST.TypedefNameDecl.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private TypedefNameDecl(TypedefNameDecl.Internal native, bool skipVTables = false) |
|
|
|
|
: this(__CopyValue(native), skipVTables) |
|
|
|
|
{ |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected TypedefNameDecl(void* native, bool skipVTables = false) |
|
|
|
|
: base((void*) null) |
|
|
|
|
{ |
|
|
|
|
__PointerAdjustment = 0; |
|
|
|
|
if (native == null) |
|
|
|
|
return; |
|
|
|
|
__Instance = new global::System.IntPtr(native); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public TypedefNameDecl(CppSharp.Parser.AST.DeclarationKind kind) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(136); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
var __arg0 = kind; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment), __arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public TypedefNameDecl(CppSharp.Parser.AST.TypedefNameDecl _0) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(136); |
|
|
|
|
__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; |
|
|
|
|
Internal.cctor_1((__Instance + __PointerAdjustment), __arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected override void Dispose(bool disposing) |
|
|
|
|
{ |
|
|
|
|
CppSharp.Parser.AST.Declaration __dummy; |
|
|
|
|
NativeToManagedMap.TryRemove(__Instance, out __dummy); |
|
|
|
|
Internal.dtor_0((__Instance + __PointerAdjustment), 0); |
|
|
|
|
if (__ownsNativeInstance) |
|
|
|
|
Marshal.FreeHGlobal(__Instance); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.QualifiedType QualifiedType |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
return CppSharp.Parser.AST.QualifiedType.__CreateInstance(((Internal*) __Instance)->QualifiedType); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->QualifiedType = ReferenceEquals(value, null) ? new CppSharp.Parser.AST.QualifiedType.Internal() : *(CppSharp.Parser.AST.QualifiedType.Internal*) (value.__Instance); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public unsafe partial class TypedefDecl : CppSharp.Parser.AST.TypedefNameDecl, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 136)] |
|
|
|
|
public new partial struct Internal |
|
|
|
@ -4777,17 +4972,152 @@ namespace CppSharp
@@ -4777,17 +4972,152 @@ namespace CppSharp
|
|
|
|
|
if (__ownsNativeInstance) |
|
|
|
|
Marshal.FreeHGlobal(__Instance); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.QualifiedType QualifiedType |
|
|
|
|
public unsafe partial class TypeAlias : CppSharp.Parser.AST.TypedefNameDecl, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 140)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
|
public CppSharp.Parser.AST.DeclarationKind Kind; |
|
|
|
|
|
|
|
|
|
[FieldOffset(4)] |
|
|
|
|
public CppSharp.Parser.AST.AccessSpecifier Access; |
|
|
|
|
|
|
|
|
|
[FieldOffset(8)] |
|
|
|
|
public global::System.IntPtr _Namespace; |
|
|
|
|
|
|
|
|
|
[FieldOffset(12)] |
|
|
|
|
public CppSharp.Parser.SourceLocation.Internal Location; |
|
|
|
|
|
|
|
|
|
[FieldOffset(16)] |
|
|
|
|
public int LineNumberStart; |
|
|
|
|
|
|
|
|
|
[FieldOffset(20)] |
|
|
|
|
public int LineNumberEnd; |
|
|
|
|
|
|
|
|
|
[FieldOffset(96)] |
|
|
|
|
public byte IsIncomplete; |
|
|
|
|
|
|
|
|
|
[FieldOffset(97)] |
|
|
|
|
public byte IsDependent; |
|
|
|
|
|
|
|
|
|
[FieldOffset(98)] |
|
|
|
|
public byte IsImplicit; |
|
|
|
|
|
|
|
|
|
[FieldOffset(100)] |
|
|
|
|
public global::System.IntPtr CompleteDeclaration; |
|
|
|
|
|
|
|
|
|
[FieldOffset(104)] |
|
|
|
|
public uint DefinitionOrder; |
|
|
|
|
|
|
|
|
|
[FieldOffset(120)] |
|
|
|
|
public global::System.IntPtr OriginalPtr; |
|
|
|
|
|
|
|
|
|
[FieldOffset(124)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(128)] |
|
|
|
|
public CppSharp.Parser.AST.QualifiedType.Internal QualifiedType; |
|
|
|
|
|
|
|
|
|
[FieldOffset(136)] |
|
|
|
|
public global::System.IntPtr DescribedAliasTemplate; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??0TypeAlias@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="??0TypeAlias@AST@CppParser@CppSharp@@QAE@ABV0123@@Z")] |
|
|
|
|
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??1TypeAlias@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
|
internal static extern void dtor_0(global::System.IntPtr instance, int delete); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static new TypeAlias __CreateInstance(global::System.IntPtr native, bool skipVTables = false) |
|
|
|
|
{ |
|
|
|
|
return new TypeAlias(native.ToPointer(), skipVTables); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static TypeAlias __CreateInstance(TypeAlias.Internal native, bool skipVTables = false) |
|
|
|
|
{ |
|
|
|
|
return new TypeAlias(native, skipVTables); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(TypeAlias.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(140); |
|
|
|
|
CppSharp.Parser.AST.TypeAlias.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private TypeAlias(TypeAlias.Internal native, bool skipVTables = false) |
|
|
|
|
: this(__CopyValue(native), skipVTables) |
|
|
|
|
{ |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected TypeAlias(void* native, bool skipVTables = false) |
|
|
|
|
: base((void*) null) |
|
|
|
|
{ |
|
|
|
|
__PointerAdjustment = 0; |
|
|
|
|
if (native == null) |
|
|
|
|
return; |
|
|
|
|
__Instance = new global::System.IntPtr(native); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public TypeAlias() |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(140); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public TypeAlias(CppSharp.Parser.AST.TypeAlias _0) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(140); |
|
|
|
|
__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; |
|
|
|
|
Internal.cctor_1((__Instance + __PointerAdjustment), __arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected override void Dispose(bool disposing) |
|
|
|
|
{ |
|
|
|
|
CppSharp.Parser.AST.Declaration __dummy; |
|
|
|
|
NativeToManagedMap.TryRemove(__Instance, out __dummy); |
|
|
|
|
Internal.dtor_0((__Instance + __PointerAdjustment), 0); |
|
|
|
|
if (__ownsNativeInstance) |
|
|
|
|
Marshal.FreeHGlobal(__Instance); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.TypeAliasTemplate DescribedAliasTemplate |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
return CppSharp.Parser.AST.QualifiedType.__CreateInstance(((Internal*) __Instance)->QualifiedType); |
|
|
|
|
CppSharp.Parser.AST.TypeAliasTemplate __result0; |
|
|
|
|
if (((Internal*) __Instance)->DescribedAliasTemplate == IntPtr.Zero) __result0 = null; |
|
|
|
|
else if (CppSharp.Parser.AST.TypeAliasTemplate.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->DescribedAliasTemplate)) |
|
|
|
|
__result0 = (CppSharp.Parser.AST.TypeAliasTemplate) CppSharp.Parser.AST.TypeAliasTemplate.NativeToManagedMap[((Internal*) __Instance)->DescribedAliasTemplate]; |
|
|
|
|
else __result0 = CppSharp.Parser.AST.TypeAliasTemplate.__CreateInstance(((Internal*) __Instance)->DescribedAliasTemplate); |
|
|
|
|
return __result0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->QualifiedType = ReferenceEquals(value, null) ? new CppSharp.Parser.AST.QualifiedType.Internal() : *(CppSharp.Parser.AST.QualifiedType.Internal*) (value.__Instance); |
|
|
|
|
((Internal*) __Instance)->DescribedAliasTemplate = ReferenceEquals(value, null) ? global::System.IntPtr.Zero : value.__Instance; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -6506,7 +6836,7 @@ namespace CppSharp
@@ -6506,7 +6836,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public unsafe partial class Enumeration : CppSharp.Parser.AST.DeclarationContext, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 260)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 272)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
@ -6548,16 +6878,16 @@ namespace CppSharp
@@ -6548,16 +6878,16 @@ namespace CppSharp
|
|
|
|
|
[FieldOffset(124)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(232)] |
|
|
|
|
[FieldOffset(244)] |
|
|
|
|
public byte IsAnonymous; |
|
|
|
|
|
|
|
|
|
[FieldOffset(236)] |
|
|
|
|
[FieldOffset(248)] |
|
|
|
|
public CppSharp.Parser.AST.Enumeration.EnumModifiers Modifiers; |
|
|
|
|
|
|
|
|
|
[FieldOffset(240)] |
|
|
|
|
[FieldOffset(252)] |
|
|
|
|
public global::System.IntPtr Type; |
|
|
|
|
|
|
|
|
|
[FieldOffset(244)] |
|
|
|
|
[FieldOffset(256)] |
|
|
|
|
public global::System.IntPtr BuiltinType; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
@ -6782,7 +7112,7 @@ namespace CppSharp
@@ -6782,7 +7112,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(Enumeration.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(260); |
|
|
|
|
var ret = Marshal.AllocHGlobal(272); |
|
|
|
|
CppSharp.Parser.AST.Enumeration.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
@ -6806,7 +7136,7 @@ namespace CppSharp
@@ -6806,7 +7136,7 @@ namespace CppSharp
|
|
|
|
|
public Enumeration() |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(260); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(272); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
@ -6815,7 +7145,7 @@ namespace CppSharp
@@ -6815,7 +7145,7 @@ namespace CppSharp
|
|
|
|
|
public Enumeration(CppSharp.Parser.AST.Enumeration _0) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(260); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(272); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
@ -7555,7 +7885,7 @@ namespace CppSharp
@@ -7555,7 +7885,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public unsafe partial class Class : CppSharp.Parser.AST.DeclarationContext, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 300)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 312)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
@ -7597,37 +7927,37 @@ namespace CppSharp
@@ -7597,37 +7927,37 @@ namespace CppSharp
|
|
|
|
|
[FieldOffset(124)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(232)] |
|
|
|
|
[FieldOffset(244)] |
|
|
|
|
public byte IsAnonymous; |
|
|
|
|
|
|
|
|
|
[FieldOffset(284)] |
|
|
|
|
[FieldOffset(296)] |
|
|
|
|
public byte IsPOD; |
|
|
|
|
|
|
|
|
|
[FieldOffset(285)] |
|
|
|
|
[FieldOffset(297)] |
|
|
|
|
public byte IsAbstract; |
|
|
|
|
|
|
|
|
|
[FieldOffset(286)] |
|
|
|
|
[FieldOffset(298)] |
|
|
|
|
public byte IsUnion; |
|
|
|
|
|
|
|
|
|
[FieldOffset(287)] |
|
|
|
|
[FieldOffset(299)] |
|
|
|
|
public byte IsDynamic; |
|
|
|
|
|
|
|
|
|
[FieldOffset(288)] |
|
|
|
|
[FieldOffset(300)] |
|
|
|
|
public byte IsPolymorphic; |
|
|
|
|
|
|
|
|
|
[FieldOffset(289)] |
|
|
|
|
[FieldOffset(301)] |
|
|
|
|
public byte HasNonTrivialDefaultConstructor; |
|
|
|
|
|
|
|
|
|
[FieldOffset(290)] |
|
|
|
|
[FieldOffset(302)] |
|
|
|
|
public byte HasNonTrivialCopyConstructor; |
|
|
|
|
|
|
|
|
|
[FieldOffset(291)] |
|
|
|
|
[FieldOffset(303)] |
|
|
|
|
public byte HasNonTrivialDestructor; |
|
|
|
|
|
|
|
|
|
[FieldOffset(292)] |
|
|
|
|
[FieldOffset(304)] |
|
|
|
|
public byte IsExternCContext; |
|
|
|
|
|
|
|
|
|
[FieldOffset(296)] |
|
|
|
|
[FieldOffset(308)] |
|
|
|
|
public global::System.IntPtr Layout; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
@ -7738,7 +8068,7 @@ namespace CppSharp
@@ -7738,7 +8068,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(Class.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(300); |
|
|
|
|
var ret = Marshal.AllocHGlobal(312); |
|
|
|
|
CppSharp.Parser.AST.Class.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
@ -7762,7 +8092,7 @@ namespace CppSharp
@@ -7762,7 +8092,7 @@ namespace CppSharp
|
|
|
|
|
public Class() |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(300); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(312); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
@ -7771,7 +8101,7 @@ namespace CppSharp
@@ -7771,7 +8101,7 @@ namespace CppSharp
|
|
|
|
|
public Class(CppSharp.Parser.AST.Class _0) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(300); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(312); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
@ -9278,7 +9608,7 @@ namespace CppSharp
@@ -9278,7 +9608,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public unsafe partial class ClassTemplateSpecialization : CppSharp.Parser.AST.Class, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 320)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 332)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
@ -9320,43 +9650,43 @@ namespace CppSharp
@@ -9320,43 +9650,43 @@ namespace CppSharp
|
|
|
|
|
[FieldOffset(124)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(232)] |
|
|
|
|
[FieldOffset(244)] |
|
|
|
|
public byte IsAnonymous; |
|
|
|
|
|
|
|
|
|
[FieldOffset(284)] |
|
|
|
|
[FieldOffset(296)] |
|
|
|
|
public byte IsPOD; |
|
|
|
|
|
|
|
|
|
[FieldOffset(285)] |
|
|
|
|
[FieldOffset(297)] |
|
|
|
|
public byte IsAbstract; |
|
|
|
|
|
|
|
|
|
[FieldOffset(286)] |
|
|
|
|
[FieldOffset(298)] |
|
|
|
|
public byte IsUnion; |
|
|
|
|
|
|
|
|
|
[FieldOffset(287)] |
|
|
|
|
[FieldOffset(299)] |
|
|
|
|
public byte IsDynamic; |
|
|
|
|
|
|
|
|
|
[FieldOffset(288)] |
|
|
|
|
[FieldOffset(300)] |
|
|
|
|
public byte IsPolymorphic; |
|
|
|
|
|
|
|
|
|
[FieldOffset(289)] |
|
|
|
|
[FieldOffset(301)] |
|
|
|
|
public byte HasNonTrivialDefaultConstructor; |
|
|
|
|
|
|
|
|
|
[FieldOffset(290)] |
|
|
|
|
[FieldOffset(302)] |
|
|
|
|
public byte HasNonTrivialCopyConstructor; |
|
|
|
|
|
|
|
|
|
[FieldOffset(291)] |
|
|
|
|
[FieldOffset(303)] |
|
|
|
|
public byte HasNonTrivialDestructor; |
|
|
|
|
|
|
|
|
|
[FieldOffset(292)] |
|
|
|
|
[FieldOffset(304)] |
|
|
|
|
public byte IsExternCContext; |
|
|
|
|
|
|
|
|
|
[FieldOffset(296)] |
|
|
|
|
[FieldOffset(308)] |
|
|
|
|
public global::System.IntPtr Layout; |
|
|
|
|
|
|
|
|
|
[FieldOffset(300)] |
|
|
|
|
[FieldOffset(312)] |
|
|
|
|
public global::System.IntPtr TemplatedDecl; |
|
|
|
|
|
|
|
|
|
[FieldOffset(316)] |
|
|
|
|
[FieldOffset(328)] |
|
|
|
|
public CppSharp.Parser.AST.TemplateSpecializationKind SpecializationKind; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
@ -9407,7 +9737,7 @@ namespace CppSharp
@@ -9407,7 +9737,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(ClassTemplateSpecialization.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(320); |
|
|
|
|
var ret = Marshal.AllocHGlobal(332); |
|
|
|
|
CppSharp.Parser.AST.ClassTemplateSpecialization.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
@ -9431,7 +9761,7 @@ namespace CppSharp
@@ -9431,7 +9761,7 @@ namespace CppSharp
|
|
|
|
|
public ClassTemplateSpecialization() |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(320); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(332); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
@ -9440,7 +9770,7 @@ namespace CppSharp
@@ -9440,7 +9770,7 @@ namespace CppSharp
|
|
|
|
|
public ClassTemplateSpecialization(CppSharp.Parser.AST.ClassTemplateSpecialization _0) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(320); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(332); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
@ -9521,7 +9851,7 @@ namespace CppSharp
@@ -9521,7 +9851,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public unsafe partial class ClassTemplatePartialSpecialization : CppSharp.Parser.AST.ClassTemplateSpecialization, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 320)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 332)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
@ -9563,43 +9893,43 @@ namespace CppSharp
@@ -9563,43 +9893,43 @@ namespace CppSharp
|
|
|
|
|
[FieldOffset(124)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(232)] |
|
|
|
|
[FieldOffset(244)] |
|
|
|
|
public byte IsAnonymous; |
|
|
|
|
|
|
|
|
|
[FieldOffset(284)] |
|
|
|
|
[FieldOffset(296)] |
|
|
|
|
public byte IsPOD; |
|
|
|
|
|
|
|
|
|
[FieldOffset(285)] |
|
|
|
|
[FieldOffset(297)] |
|
|
|
|
public byte IsAbstract; |
|
|
|
|
|
|
|
|
|
[FieldOffset(286)] |
|
|
|
|
[FieldOffset(298)] |
|
|
|
|
public byte IsUnion; |
|
|
|
|
|
|
|
|
|
[FieldOffset(287)] |
|
|
|
|
[FieldOffset(299)] |
|
|
|
|
public byte IsDynamic; |
|
|
|
|
|
|
|
|
|
[FieldOffset(288)] |
|
|
|
|
[FieldOffset(300)] |
|
|
|
|
public byte IsPolymorphic; |
|
|
|
|
|
|
|
|
|
[FieldOffset(289)] |
|
|
|
|
[FieldOffset(301)] |
|
|
|
|
public byte HasNonTrivialDefaultConstructor; |
|
|
|
|
|
|
|
|
|
[FieldOffset(290)] |
|
|
|
|
[FieldOffset(302)] |
|
|
|
|
public byte HasNonTrivialCopyConstructor; |
|
|
|
|
|
|
|
|
|
[FieldOffset(291)] |
|
|
|
|
[FieldOffset(303)] |
|
|
|
|
public byte HasNonTrivialDestructor; |
|
|
|
|
|
|
|
|
|
[FieldOffset(292)] |
|
|
|
|
[FieldOffset(304)] |
|
|
|
|
public byte IsExternCContext; |
|
|
|
|
|
|
|
|
|
[FieldOffset(296)] |
|
|
|
|
[FieldOffset(308)] |
|
|
|
|
public global::System.IntPtr Layout; |
|
|
|
|
|
|
|
|
|
[FieldOffset(300)] |
|
|
|
|
[FieldOffset(312)] |
|
|
|
|
public global::System.IntPtr TemplatedDecl; |
|
|
|
|
|
|
|
|
|
[FieldOffset(316)] |
|
|
|
|
[FieldOffset(328)] |
|
|
|
|
public CppSharp.Parser.AST.TemplateSpecializationKind SpecializationKind; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
@ -9630,7 +9960,7 @@ namespace CppSharp
@@ -9630,7 +9960,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(ClassTemplatePartialSpecialization.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(320); |
|
|
|
|
var ret = Marshal.AllocHGlobal(332); |
|
|
|
|
CppSharp.Parser.AST.ClassTemplatePartialSpecialization.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
@ -9654,7 +9984,7 @@ namespace CppSharp
@@ -9654,7 +9984,7 @@ namespace CppSharp
|
|
|
|
|
public ClassTemplatePartialSpecialization() |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(320); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(332); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
@ -9663,7 +9993,7 @@ namespace CppSharp
@@ -9663,7 +9993,7 @@ namespace CppSharp
|
|
|
|
|
public ClassTemplatePartialSpecialization(CppSharp.Parser.AST.ClassTemplatePartialSpecialization _0) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(320); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(332); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
@ -10065,7 +10395,7 @@ namespace CppSharp
@@ -10065,7 +10395,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public unsafe partial class Namespace : CppSharp.Parser.AST.DeclarationContext, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 240)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 252)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
@ -10107,10 +10437,10 @@ namespace CppSharp
@@ -10107,10 +10437,10 @@ namespace CppSharp
|
|
|
|
|
[FieldOffset(124)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(232)] |
|
|
|
|
[FieldOffset(244)] |
|
|
|
|
public byte IsAnonymous; |
|
|
|
|
|
|
|
|
|
[FieldOffset(236)] |
|
|
|
|
[FieldOffset(248)] |
|
|
|
|
public byte IsInline; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
@ -10141,7 +10471,7 @@ namespace CppSharp
@@ -10141,7 +10471,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(Namespace.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(240); |
|
|
|
|
var ret = Marshal.AllocHGlobal(252); |
|
|
|
|
CppSharp.Parser.AST.Namespace.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
@ -10165,7 +10495,7 @@ namespace CppSharp
@@ -10165,7 +10495,7 @@ namespace CppSharp
|
|
|
|
|
public Namespace() |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(240); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(252); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
@ -10174,7 +10504,7 @@ namespace CppSharp
@@ -10174,7 +10504,7 @@ namespace CppSharp
|
|
|
|
|
public Namespace(CppSharp.Parser.AST.Namespace _0) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(240); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(252); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
@ -10686,7 +11016,7 @@ namespace CppSharp
@@ -10686,7 +11016,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
public unsafe partial class TranslationUnit : CppSharp.Parser.AST.Namespace, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 280)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 292)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
@ -10728,13 +11058,13 @@ namespace CppSharp
@@ -10728,13 +11058,13 @@ namespace CppSharp
|
|
|
|
|
[FieldOffset(124)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(232)] |
|
|
|
|
[FieldOffset(244)] |
|
|
|
|
public byte IsAnonymous; |
|
|
|
|
|
|
|
|
|
[FieldOffset(236)] |
|
|
|
|
[FieldOffset(248)] |
|
|
|
|
public byte IsInline; |
|
|
|
|
|
|
|
|
|
[FieldOffset(264)] |
|
|
|
|
[FieldOffset(276)] |
|
|
|
|
public byte IsSystemHeader; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
@ -10795,7 +11125,7 @@ namespace CppSharp
@@ -10795,7 +11125,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(TranslationUnit.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(280); |
|
|
|
|
var ret = Marshal.AllocHGlobal(292); |
|
|
|
|
CppSharp.Parser.AST.TranslationUnit.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return ret.ToPointer(); |
|
|
|
|
} |
|
|
|
@ -10819,7 +11149,7 @@ namespace CppSharp
@@ -10819,7 +11149,7 @@ namespace CppSharp
|
|
|
|
|
public TranslationUnit() |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(280); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(292); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
@ -10828,7 +11158,7 @@ namespace CppSharp
@@ -10828,7 +11158,7 @@ namespace CppSharp
|
|
|
|
|
public TranslationUnit(CppSharp.Parser.AST.TranslationUnit _0) |
|
|
|
|
: this((void*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(280); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(292); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
|