|
|
|
@ -8848,49 +8848,19 @@ namespace CppSharp
@@ -8848,49 +8848,19 @@ namespace CppSharp
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public unsafe partial class PreprocessedEntity : CppSharp.Parser.AST.Declaration, IDisposable |
|
|
|
|
public unsafe partial class PreprocessedEntity : IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 132)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
|
|
|
public partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
|
public CppSharp.Parser.AST.DeclarationKind Kind; |
|
|
|
|
public CppSharp.Parser.AST.MacroLocation MacroLocation; |
|
|
|
|
|
|
|
|
|
[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(48)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(76)] |
|
|
|
|
public byte IsIncomplete; |
|
|
|
|
|
|
|
|
|
[FieldOffset(77)] |
|
|
|
|
public byte IsDependent; |
|
|
|
|
|
|
|
|
|
[FieldOffset(80)] |
|
|
|
|
public global::System.IntPtr CompleteDeclaration; |
|
|
|
|
|
|
|
|
|
[FieldOffset(84)] |
|
|
|
|
public uint DefinitionOrder; |
|
|
|
|
|
|
|
|
|
[FieldOffset(100)] |
|
|
|
|
public global::System.IntPtr OriginalPtr; |
|
|
|
|
|
|
|
|
|
[FieldOffset(128)] |
|
|
|
|
public CppSharp.Parser.AST.MacroLocation MacroLocation; |
|
|
|
|
[FieldOffset(8)] |
|
|
|
|
public CppSharp.Parser.AST.DeclarationKind Kind; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
@ -8900,15 +8870,18 @@ namespace CppSharp
@@ -8900,15 +8870,18 @@ namespace CppSharp
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??0PreprocessedEntity@AST@CppParser@CppSharp@@QAE@ABV0123@@Z")] |
|
|
|
|
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??1PreprocessedEntity@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
|
internal static extern void dtor_0(global::System.IntPtr instance, int delete); |
|
|
|
|
internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static new PreprocessedEntity __CreateInstance(global::System.IntPtr native, bool skipVTables = false) |
|
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
|
|
|
|
|
|
protected int __PointerAdjustment; |
|
|
|
|
public static readonly System.Collections.Concurrent.ConcurrentDictionary<IntPtr, PreprocessedEntity> NativeToManagedMap = new System.Collections.Concurrent.ConcurrentDictionary<IntPtr, PreprocessedEntity>(); |
|
|
|
|
protected void*[] __OriginalVTables; |
|
|
|
|
|
|
|
|
|
protected bool __ownsNativeInstance; |
|
|
|
|
|
|
|
|
|
public static PreprocessedEntity __CreateInstance(global::System.IntPtr native, bool skipVTables = false) |
|
|
|
|
{ |
|
|
|
|
return new PreprocessedEntity((PreprocessedEntity.Internal*) native, skipVTables); |
|
|
|
|
} |
|
|
|
@ -8920,9 +8893,9 @@ namespace CppSharp
@@ -8920,9 +8893,9 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static PreprocessedEntity.Internal* __CopyValue(PreprocessedEntity.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(132); |
|
|
|
|
CppSharp.Parser.AST.PreprocessedEntity.Internal.cctor_2(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return (PreprocessedEntity.Internal*) ret; |
|
|
|
|
var ret = (PreprocessedEntity.Internal*) Marshal.AllocHGlobal(12); |
|
|
|
|
*ret = native; |
|
|
|
|
return ret; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private PreprocessedEntity(PreprocessedEntity.Internal native, bool skipVTables = false) |
|
|
|
@ -8933,33 +8906,39 @@ namespace CppSharp
@@ -8933,33 +8906,39 @@ namespace CppSharp
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected PreprocessedEntity(PreprocessedEntity.Internal* native, bool skipVTables = false) |
|
|
|
|
: base((CppSharp.Parser.AST.Declaration.Internal*) null) |
|
|
|
|
{ |
|
|
|
|
__PointerAdjustment = 0; |
|
|
|
|
if (native == null) |
|
|
|
|
return; |
|
|
|
|
__Instance = new global::System.IntPtr(native); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public PreprocessedEntity() |
|
|
|
|
: this((Internal*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(132); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(12); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public PreprocessedEntity(CppSharp.Parser.AST.PreprocessedEntity _0) |
|
|
|
|
: this((Internal*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(132); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(12); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
|
throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); |
|
|
|
|
var arg0 = _0.__Instance; |
|
|
|
|
Internal.cctor_2((__Instance + __PointerAdjustment), arg0); |
|
|
|
|
*((PreprocessedEntity.Internal*) __Instance) = *((PreprocessedEntity.Internal*) _0.__Instance); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void Dispose() |
|
|
|
|
{ |
|
|
|
|
Dispose(disposing: true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected virtual void Dispose(bool disposing) |
|
|
|
|
{ |
|
|
|
|
CppSharp.Parser.AST.PreprocessedEntity __dummy; |
|
|
|
|
NativeToManagedMap.TryRemove(__Instance, out __dummy); |
|
|
|
|
if (__ownsNativeInstance) |
|
|
|
|
Marshal.FreeHGlobal(__Instance); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.MacroLocation MacroLocation |
|
|
|
@ -8974,52 +8953,54 @@ namespace CppSharp
@@ -8974,52 +8953,54 @@ namespace CppSharp
|
|
|
|
|
((Internal*) __Instance)->MacroLocation = value; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public global::System.IntPtr OriginalPtr |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
return ((Internal*) __Instance)->OriginalPtr; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->OriginalPtr = value; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.DeclarationKind Kind |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
return ((Internal*) __Instance)->Kind; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->Kind = value; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public unsafe partial class MacroDefinition : CppSharp.Parser.AST.PreprocessedEntity, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 156)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 68)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
|
public CppSharp.Parser.AST.DeclarationKind Kind; |
|
|
|
|
public CppSharp.Parser.AST.MacroLocation MacroLocation; |
|
|
|
|
|
|
|
|
|
[FieldOffset(4)] |
|
|
|
|
public CppSharp.Parser.AST.AccessSpecifier Access; |
|
|
|
|
public global::System.IntPtr OriginalPtr; |
|
|
|
|
|
|
|
|
|
[FieldOffset(8)] |
|
|
|
|
public global::System.IntPtr _Namespace; |
|
|
|
|
|
|
|
|
|
[FieldOffset(12)] |
|
|
|
|
public CppSharp.Parser.SourceLocation.Internal Location; |
|
|
|
|
public CppSharp.Parser.AST.DeclarationKind Kind; |
|
|
|
|
|
|
|
|
|
[FieldOffset(16)] |
|
|
|
|
[FieldOffset(60)] |
|
|
|
|
public int LineNumberStart; |
|
|
|
|
|
|
|
|
|
[FieldOffset(20)] |
|
|
|
|
[FieldOffset(64)] |
|
|
|
|
public int LineNumberEnd; |
|
|
|
|
|
|
|
|
|
[FieldOffset(48)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(76)] |
|
|
|
|
public byte IsIncomplete; |
|
|
|
|
|
|
|
|
|
[FieldOffset(77)] |
|
|
|
|
public byte IsDependent; |
|
|
|
|
|
|
|
|
|
[FieldOffset(80)] |
|
|
|
|
public global::System.IntPtr CompleteDeclaration; |
|
|
|
|
|
|
|
|
|
[FieldOffset(84)] |
|
|
|
|
public uint DefinitionOrder; |
|
|
|
|
|
|
|
|
|
[FieldOffset(100)] |
|
|
|
|
public global::System.IntPtr OriginalPtr; |
|
|
|
|
|
|
|
|
|
[FieldOffset(128)] |
|
|
|
|
public CppSharp.Parser.AST.MacroLocation MacroLocation; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??0MacroDefinition@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
@ -9035,6 +9016,16 @@ namespace CppSharp
@@ -9035,6 +9016,16 @@ namespace CppSharp
|
|
|
|
|
EntryPoint="??1MacroDefinition@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
|
internal static extern void dtor_0(global::System.IntPtr instance, int delete); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getName@MacroDefinition@AST@CppParser@CppSharp@@QAEPBDXZ")] |
|
|
|
|
internal static extern global::System.IntPtr getName_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?setName@MacroDefinition@AST@CppParser@CppSharp@@QAEXPBD@Z")] |
|
|
|
|
internal static extern void setName_0(global::System.IntPtr instance, global::System.IntPtr s); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getExpression@MacroDefinition@AST@CppParser@CppSharp@@QAEPBDXZ")] |
|
|
|
@ -9058,7 +9049,7 @@ namespace CppSharp
@@ -9058,7 +9049,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static MacroDefinition.Internal* __CopyValue(MacroDefinition.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(156); |
|
|
|
|
var ret = Marshal.AllocHGlobal(68); |
|
|
|
|
CppSharp.Parser.AST.MacroDefinition.Internal.cctor_2(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return (MacroDefinition.Internal*) ret; |
|
|
|
|
} |
|
|
|
@ -9082,7 +9073,7 @@ namespace CppSharp
@@ -9082,7 +9073,7 @@ namespace CppSharp
|
|
|
|
|
public MacroDefinition() |
|
|
|
|
: this((Internal*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(156); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(68); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
@ -9091,7 +9082,7 @@ namespace CppSharp
@@ -9091,7 +9082,7 @@ namespace CppSharp
|
|
|
|
|
public MacroDefinition(CppSharp.Parser.AST.MacroDefinition _0) |
|
|
|
|
: this((Internal*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(156); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(68); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
@ -9100,6 +9091,22 @@ namespace CppSharp
@@ -9100,6 +9091,22 @@ namespace CppSharp
|
|
|
|
|
Internal.cctor_2((__Instance + __PointerAdjustment), arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public string Name |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
var __ret = Internal.getName_0((__Instance + __PointerAdjustment)); |
|
|
|
|
return Marshal.PtrToStringAnsi(__ret); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
var arg0 = Marshal.StringToHGlobalAnsi(value); |
|
|
|
|
Internal.setName_0((__Instance + __PointerAdjustment), arg0); |
|
|
|
|
Marshal.FreeHGlobal(arg0); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public string Expression |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
@ -9115,53 +9122,49 @@ namespace CppSharp
@@ -9115,53 +9122,49 @@ namespace CppSharp
|
|
|
|
|
Marshal.FreeHGlobal(arg0); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public int LineNumberStart |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
return ((Internal*) __Instance)->LineNumberStart; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->LineNumberStart = value; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public int LineNumberEnd |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
return ((Internal*) __Instance)->LineNumberEnd; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
((Internal*) __Instance)->LineNumberEnd = value; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public unsafe partial class MacroExpansion : CppSharp.Parser.AST.PreprocessedEntity, IDisposable |
|
|
|
|
{ |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 160)] |
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 64)] |
|
|
|
|
public new partial struct Internal |
|
|
|
|
{ |
|
|
|
|
[FieldOffset(0)] |
|
|
|
|
public CppSharp.Parser.AST.DeclarationKind Kind; |
|
|
|
|
public CppSharp.Parser.AST.MacroLocation MacroLocation; |
|
|
|
|
|
|
|
|
|
[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(48)] |
|
|
|
|
public global::System.IntPtr Comment; |
|
|
|
|
|
|
|
|
|
[FieldOffset(76)] |
|
|
|
|
public byte IsIncomplete; |
|
|
|
|
|
|
|
|
|
[FieldOffset(77)] |
|
|
|
|
public byte IsDependent; |
|
|
|
|
|
|
|
|
|
[FieldOffset(80)] |
|
|
|
|
public global::System.IntPtr CompleteDeclaration; |
|
|
|
|
|
|
|
|
|
[FieldOffset(84)] |
|
|
|
|
public uint DefinitionOrder; |
|
|
|
|
|
|
|
|
|
[FieldOffset(100)] |
|
|
|
|
public global::System.IntPtr OriginalPtr; |
|
|
|
|
|
|
|
|
|
[FieldOffset(128)] |
|
|
|
|
public CppSharp.Parser.AST.MacroLocation MacroLocation; |
|
|
|
|
[FieldOffset(8)] |
|
|
|
|
public CppSharp.Parser.AST.DeclarationKind Kind; |
|
|
|
|
|
|
|
|
|
[FieldOffset(156)] |
|
|
|
|
[FieldOffset(60)] |
|
|
|
|
public global::System.IntPtr Definition; |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
@ -9179,6 +9182,16 @@ namespace CppSharp
@@ -9179,6 +9182,16 @@ namespace CppSharp
|
|
|
|
|
EntryPoint="??1MacroExpansion@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
|
internal static extern void dtor_0(global::System.IntPtr instance, int delete); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getName@MacroExpansion@AST@CppParser@CppSharp@@QAEPBDXZ")] |
|
|
|
|
internal static extern global::System.IntPtr getName_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?setName@MacroExpansion@AST@CppParser@CppSharp@@QAEXPBD@Z")] |
|
|
|
|
internal static extern void setName_0(global::System.IntPtr instance, global::System.IntPtr s); |
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="?getText@MacroExpansion@AST@CppParser@CppSharp@@QAEPBDXZ")] |
|
|
|
@ -9202,7 +9215,7 @@ namespace CppSharp
@@ -9202,7 +9215,7 @@ namespace CppSharp
|
|
|
|
|
|
|
|
|
|
private static MacroExpansion.Internal* __CopyValue(MacroExpansion.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(160); |
|
|
|
|
var ret = Marshal.AllocHGlobal(64); |
|
|
|
|
CppSharp.Parser.AST.MacroExpansion.Internal.cctor_2(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return (MacroExpansion.Internal*) ret; |
|
|
|
|
} |
|
|
|
@ -9226,7 +9239,7 @@ namespace CppSharp
@@ -9226,7 +9239,7 @@ namespace CppSharp
|
|
|
|
|
public MacroExpansion() |
|
|
|
|
: this((Internal*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(160); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(64); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
@ -9235,7 +9248,7 @@ namespace CppSharp
@@ -9235,7 +9248,7 @@ namespace CppSharp
|
|
|
|
|
public MacroExpansion(CppSharp.Parser.AST.MacroExpansion _0) |
|
|
|
|
: this((Internal*) null) |
|
|
|
|
{ |
|
|
|
|
__Instance = Marshal.AllocHGlobal(160); |
|
|
|
|
__Instance = Marshal.AllocHGlobal(64); |
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
@ -9244,6 +9257,22 @@ namespace CppSharp
@@ -9244,6 +9257,22 @@ namespace CppSharp
|
|
|
|
|
Internal.cctor_2((__Instance + __PointerAdjustment), arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public string Name |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
|
{ |
|
|
|
|
var __ret = Internal.getName_0((__Instance + __PointerAdjustment)); |
|
|
|
|
return Marshal.PtrToStringAnsi(__ret); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
{ |
|
|
|
|
var arg0 = Marshal.StringToHGlobalAnsi(value); |
|
|
|
|
Internal.setName_0((__Instance + __PointerAdjustment), arg0); |
|
|
|
|
Marshal.FreeHGlobal(arg0); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public string Text |
|
|
|
|
{ |
|
|
|
|
get |
|
|
|
@ -9735,7 +9764,7 @@ namespace CppSharp
@@ -9735,7 +9764,7 @@ namespace CppSharp
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
EntryPoint="??0ASTContext@AST@CppParser@CppSharp@@QAE@ABV0123@@Z")] |
|
|
|
|
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
|
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, |
|
|
|
@ -9784,7 +9813,7 @@ namespace CppSharp
@@ -9784,7 +9813,7 @@ namespace CppSharp
|
|
|
|
|
private static ASTContext.Internal* __CopyValue(ASTContext.Internal native) |
|
|
|
|
{ |
|
|
|
|
var ret = Marshal.AllocHGlobal(12); |
|
|
|
|
CppSharp.Parser.AST.ASTContext.Internal.cctor_2(ret, new global::System.IntPtr(&native)); |
|
|
|
|
CppSharp.Parser.AST.ASTContext.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
|
return (ASTContext.Internal*) ret; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -9818,7 +9847,7 @@ namespace CppSharp
@@ -9818,7 +9847,7 @@ namespace CppSharp
|
|
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
|
throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); |
|
|
|
|
var arg0 = _0.__Instance; |
|
|
|
|
Internal.cctor_2((__Instance + __PointerAdjustment), arg0); |
|
|
|
|
Internal.cctor_1((__Instance + __PointerAdjustment), arg0); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void Dispose() |
|
|
|
|