|
|
|
@ -216,6 +216,13 @@ namespace CppSharp |
|
|
|
FunctionBody = 5 |
|
|
|
FunctionBody = 5 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public enum ArchType |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
UnknownArch = 0, |
|
|
|
|
|
|
|
x86 = 1, |
|
|
|
|
|
|
|
x86_64 = 2 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public unsafe partial class Type : IDisposable |
|
|
|
public unsafe partial class Type : IDisposable |
|
|
|
{ |
|
|
|
{ |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
|
|
@ -7561,18 +7568,21 @@ namespace CppSharp |
|
|
|
|
|
|
|
|
|
|
|
public unsafe partial class NativeLibrary : IDisposable |
|
|
|
public unsafe partial class NativeLibrary : IDisposable |
|
|
|
{ |
|
|
|
{ |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 56)] |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 64)] |
|
|
|
public partial struct Internal |
|
|
|
public partial struct Internal |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
[FieldOffset(8)] |
|
|
|
|
|
|
|
public CppSharp.Parser.AST.ArchType ArchType; |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
EntryPoint="_ZN8CppSharp9CppParser3AST13NativeLibraryC2ERKS2_")] |
|
|
|
EntryPoint="_ZN8CppSharp9CppParser3AST13NativeLibraryC2Ev")] |
|
|
|
internal static extern void cctor_0(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
internal static extern void ctor_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
EntryPoint="_ZN8CppSharp9CppParser3AST13NativeLibraryC2Ev")] |
|
|
|
EntryPoint="_ZN8CppSharp9CppParser3AST13NativeLibraryC2ERKS2_")] |
|
|
|
internal static extern void ctor_2(global::System.IntPtr instance); |
|
|
|
internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
@ -7639,8 +7649,8 @@ namespace CppSharp |
|
|
|
|
|
|
|
|
|
|
|
private static global::System.IntPtr __CopyValue(NativeLibrary.Internal native) |
|
|
|
private static global::System.IntPtr __CopyValue(NativeLibrary.Internal native) |
|
|
|
{ |
|
|
|
{ |
|
|
|
var ret = Marshal.AllocHGlobal(56); |
|
|
|
var ret = Marshal.AllocHGlobal(64); |
|
|
|
CppSharp.Parser.AST.NativeLibrary.Internal.cctor_0(ret, new global::System.IntPtr(&native)); |
|
|
|
CppSharp.Parser.AST.NativeLibrary.Internal.cctor_1(ret, new global::System.IntPtr(&native)); |
|
|
|
return ret; |
|
|
|
return ret; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -7656,8 +7666,8 @@ namespace CppSharp |
|
|
|
|
|
|
|
|
|
|
|
public NativeLibrary() |
|
|
|
public NativeLibrary() |
|
|
|
{ |
|
|
|
{ |
|
|
|
__Instance = Marshal.AllocHGlobal(56); |
|
|
|
__Instance = Marshal.AllocHGlobal(64); |
|
|
|
Internal.ctor_2(__Instance); |
|
|
|
Internal.ctor_0(__Instance); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void Dispose() |
|
|
|
public void Dispose() |
|
|
|
@ -7744,6 +7754,21 @@ namespace CppSharp |
|
|
|
return __ret; |
|
|
|
return __ret; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.ArchType ArchType |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
|
|
|
|
return __ptr->ArchType; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
|
|
|
|
__ptr->ArchType = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public unsafe partial class ASTContext : IDisposable |
|
|
|
public unsafe partial class ASTContext : IDisposable |
|
|
|
|