|
|
@ -5516,7 +5516,7 @@ namespace CppSharp |
|
|
|
|
|
|
|
|
|
|
|
public unsafe partial class Function : CppSharp.Parser.AST.Declaration, IDisposable |
|
|
|
public unsafe partial class Function : CppSharp.Parser.AST.Declaration, IDisposable |
|
|
|
{ |
|
|
|
{ |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 216)] |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 220)] |
|
|
|
public new partial struct Internal |
|
|
|
public new partial struct Internal |
|
|
|
{ |
|
|
|
{ |
|
|
|
[FieldOffset(0)] |
|
|
|
[FieldOffset(0)] |
|
|
@ -5588,6 +5588,9 @@ namespace CppSharp |
|
|
|
[FieldOffset(212)] |
|
|
|
[FieldOffset(212)] |
|
|
|
public global::System.IntPtr SpecializationInfo; |
|
|
|
public global::System.IntPtr SpecializationInfo; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(216)] |
|
|
|
|
|
|
|
public global::System.IntPtr InstantiatedFrom; |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
EntryPoint="??0Function@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
EntryPoint="??0Function@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
@ -5656,7 +5659,7 @@ namespace CppSharp |
|
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(Function.Internal native) |
|
|
|
private static void* __CopyValue(Function.Internal native) |
|
|
|
{ |
|
|
|
{ |
|
|
|
var ret = Marshal.AllocHGlobal(216); |
|
|
|
var ret = Marshal.AllocHGlobal(220); |
|
|
|
CppSharp.Parser.AST.Function.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
CppSharp.Parser.AST.Function.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
return ret.ToPointer(); |
|
|
|
return ret.ToPointer(); |
|
|
|
} |
|
|
|
} |
|
|
@ -5680,7 +5683,7 @@ namespace CppSharp |
|
|
|
public Function() |
|
|
|
public Function() |
|
|
|
: this((void*) null) |
|
|
|
: this((void*) null) |
|
|
|
{ |
|
|
|
{ |
|
|
|
__Instance = Marshal.AllocHGlobal(216); |
|
|
|
__Instance = Marshal.AllocHGlobal(220); |
|
|
|
__ownsNativeInstance = true; |
|
|
|
__ownsNativeInstance = true; |
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
@ -5689,7 +5692,7 @@ namespace CppSharp |
|
|
|
public Function(CppSharp.Parser.AST.Function _0) |
|
|
|
public Function(CppSharp.Parser.AST.Function _0) |
|
|
|
: this((void*) null) |
|
|
|
: this((void*) null) |
|
|
|
{ |
|
|
|
{ |
|
|
|
__Instance = Marshal.AllocHGlobal(216); |
|
|
|
__Instance = Marshal.AllocHGlobal(220); |
|
|
|
__ownsNativeInstance = true; |
|
|
|
__ownsNativeInstance = true; |
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
@ -5906,11 +5909,29 @@ namespace CppSharp |
|
|
|
((Internal*) __Instance)->SpecializationInfo = ReferenceEquals(value, null) ? global::System.IntPtr.Zero : value.__Instance; |
|
|
|
((Internal*) __Instance)->SpecializationInfo = ReferenceEquals(value, null) ? global::System.IntPtr.Zero : value.__Instance; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.Function InstantiatedFrom |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
CppSharp.Parser.AST.Function __result0; |
|
|
|
|
|
|
|
if (((Internal*) __Instance)->InstantiatedFrom == IntPtr.Zero) __result0 = null; |
|
|
|
|
|
|
|
else if (CppSharp.Parser.AST.Function.NativeToManagedMap.ContainsKey(((Internal*) __Instance)->InstantiatedFrom)) |
|
|
|
|
|
|
|
__result0 = (CppSharp.Parser.AST.Function) CppSharp.Parser.AST.Function.NativeToManagedMap[((Internal*) __Instance)->InstantiatedFrom]; |
|
|
|
|
|
|
|
else __result0 = CppSharp.Parser.AST.Function.__CreateInstance(((Internal*) __Instance)->InstantiatedFrom); |
|
|
|
|
|
|
|
return __result0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
((Internal*) __Instance)->InstantiatedFrom = ReferenceEquals(value, null) ? global::System.IntPtr.Zero : value.__Instance; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public unsafe partial class Method : CppSharp.Parser.AST.Function, IDisposable |
|
|
|
public unsafe partial class Method : CppSharp.Parser.AST.Function, IDisposable |
|
|
|
{ |
|
|
|
{ |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 240)] |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 244)] |
|
|
|
public new partial struct Internal |
|
|
|
public new partial struct Internal |
|
|
|
{ |
|
|
|
{ |
|
|
|
[FieldOffset(0)] |
|
|
|
[FieldOffset(0)] |
|
|
@ -5983,33 +6004,36 @@ namespace CppSharp |
|
|
|
public global::System.IntPtr SpecializationInfo; |
|
|
|
public global::System.IntPtr SpecializationInfo; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(216)] |
|
|
|
[FieldOffset(216)] |
|
|
|
|
|
|
|
public global::System.IntPtr InstantiatedFrom; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(220)] |
|
|
|
public byte IsVirtual; |
|
|
|
public byte IsVirtual; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(217)] |
|
|
|
[FieldOffset(221)] |
|
|
|
public byte IsStatic; |
|
|
|
public byte IsStatic; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(218)] |
|
|
|
[FieldOffset(222)] |
|
|
|
public byte IsConst; |
|
|
|
public byte IsConst; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(219)] |
|
|
|
[FieldOffset(223)] |
|
|
|
public byte IsExplicit; |
|
|
|
public byte IsExplicit; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(220)] |
|
|
|
[FieldOffset(224)] |
|
|
|
public byte IsOverride; |
|
|
|
public byte IsOverride; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(224)] |
|
|
|
[FieldOffset(228)] |
|
|
|
public CppSharp.Parser.AST.CXXMethodKind MethodKind; |
|
|
|
public CppSharp.Parser.AST.CXXMethodKind MethodKind; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(228)] |
|
|
|
[FieldOffset(232)] |
|
|
|
public byte IsDefaultConstructor; |
|
|
|
public byte IsDefaultConstructor; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(229)] |
|
|
|
[FieldOffset(233)] |
|
|
|
public byte IsCopyConstructor; |
|
|
|
public byte IsCopyConstructor; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(230)] |
|
|
|
[FieldOffset(234)] |
|
|
|
public byte IsMoveConstructor; |
|
|
|
public byte IsMoveConstructor; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(232)] |
|
|
|
[FieldOffset(236)] |
|
|
|
public CppSharp.Parser.AST.QualifiedType.Internal ConversionType; |
|
|
|
public CppSharp.Parser.AST.QualifiedType.Internal ConversionType; |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
@ -6040,7 +6064,7 @@ namespace CppSharp |
|
|
|
|
|
|
|
|
|
|
|
private static void* __CopyValue(Method.Internal native) |
|
|
|
private static void* __CopyValue(Method.Internal native) |
|
|
|
{ |
|
|
|
{ |
|
|
|
var ret = Marshal.AllocHGlobal(240); |
|
|
|
var ret = Marshal.AllocHGlobal(244); |
|
|
|
CppSharp.Parser.AST.Method.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
CppSharp.Parser.AST.Method.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
return ret.ToPointer(); |
|
|
|
return ret.ToPointer(); |
|
|
|
} |
|
|
|
} |
|
|
@ -6064,7 +6088,7 @@ namespace CppSharp |
|
|
|
public Method() |
|
|
|
public Method() |
|
|
|
: this((void*) null) |
|
|
|
: this((void*) null) |
|
|
|
{ |
|
|
|
{ |
|
|
|
__Instance = Marshal.AllocHGlobal(240); |
|
|
|
__Instance = Marshal.AllocHGlobal(244); |
|
|
|
__ownsNativeInstance = true; |
|
|
|
__ownsNativeInstance = true; |
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
|
Internal.ctor_0((__Instance + __PointerAdjustment)); |
|
|
@ -6073,7 +6097,7 @@ namespace CppSharp |
|
|
|
public Method(CppSharp.Parser.AST.Method _0) |
|
|
|
public Method(CppSharp.Parser.AST.Method _0) |
|
|
|
: this((void*) null) |
|
|
|
: this((void*) null) |
|
|
|
{ |
|
|
|
{ |
|
|
|
__Instance = Marshal.AllocHGlobal(240); |
|
|
|
__Instance = Marshal.AllocHGlobal(244); |
|
|
|
__ownsNativeInstance = true; |
|
|
|
__ownsNativeInstance = true; |
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|
if (ReferenceEquals(_0, null)) |
|
|
|