|
|
|
@ -37,26 +37,26 @@ namespace CppSharp |
|
|
|
|
|
|
|
|
|
|
|
public unsafe partial class ParserOptions : IDisposable, CppSharp.Runtime.ICppMarshal |
|
|
|
public unsafe partial class ParserOptions : IDisposable, CppSharp.Runtime.ICppMarshal |
|
|
|
{ |
|
|
|
{ |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 116)] |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 112)] |
|
|
|
public struct Internal |
|
|
|
public struct Internal |
|
|
|
{ |
|
|
|
{ |
|
|
|
[FieldOffset(0)] |
|
|
|
[FieldOffset(0)] |
|
|
|
|
|
|
|
public Std.String FileName; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(24)] |
|
|
|
public Std.Vector IncludeDirs; |
|
|
|
public Std.Vector IncludeDirs; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(12)] |
|
|
|
[FieldOffset(36)] |
|
|
|
public Std.Vector SystemIncludeDirs; |
|
|
|
public Std.Vector SystemIncludeDirs; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(24)] |
|
|
|
[FieldOffset(48)] |
|
|
|
public Std.Vector Defines; |
|
|
|
public Std.Vector Defines; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(36)] |
|
|
|
[FieldOffset(60)] |
|
|
|
public Std.Vector LibraryDirs; |
|
|
|
public Std.Vector LibraryDirs; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(48)] |
|
|
|
|
|
|
|
public Std.String FileName; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(72)] |
|
|
|
[FieldOffset(72)] |
|
|
|
public global::System.IntPtr Library; |
|
|
|
public global::System.IntPtr ASTContext; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(76)] |
|
|
|
[FieldOffset(76)] |
|
|
|
public int ToolSetToUse; |
|
|
|
public int ToolSetToUse; |
|
|
|
@ -65,33 +65,38 @@ namespace CppSharp |
|
|
|
public Std.String TargetTriple; |
|
|
|
public Std.String TargetTriple; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(104)] |
|
|
|
[FieldOffset(104)] |
|
|
|
|
|
|
|
public CppSharp.Parser.AST.CppAbi Abi; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(108)] |
|
|
|
public bool NoStandardIncludes; |
|
|
|
public bool NoStandardIncludes; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(105)] |
|
|
|
[FieldOffset(109)] |
|
|
|
public bool NoBuiltinIncludes; |
|
|
|
public bool NoBuiltinIncludes; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(106)] |
|
|
|
[FieldOffset(110)] |
|
|
|
public bool MicrosoftMode; |
|
|
|
public bool MicrosoftMode; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(108)] |
|
|
|
[FieldOffset(111)] |
|
|
|
public CppSharp.Parser.AST.CppAbi Abi; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(112)] |
|
|
|
|
|
|
|
public bool Verbose; |
|
|
|
public bool Verbose; |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
EntryPoint="??0ParserOptions@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
EntryPoint="??0ParserOptions@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
public static extern global::System.IntPtr ParserOptions0(global::System.IntPtr instance); |
|
|
|
public static extern global::System.IntPtr ParserOptions0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
EntryPoint="??0ParserOptions@CppParser@CppSharp@@QAE@ABU012@@Z")] |
|
|
|
EntryPoint="??0ParserOptions@CppParser@CppSharp@@QAE@ABU012@@Z")] |
|
|
|
public static extern global::System.IntPtr ParserOptions2(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
public static extern global::System.IntPtr ParserOptions2(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int CppSharp.Runtime.ICppMarshal.NativeDataSize |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get { return 112; } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void CppSharp.Runtime.ICppMarshal.MarshalManagedToNative(global::System.IntPtr instance) |
|
|
|
void CppSharp.Runtime.ICppMarshal.MarshalManagedToNative(global::System.IntPtr instance) |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
@ -117,7 +122,7 @@ namespace CppSharp |
|
|
|
|
|
|
|
|
|
|
|
public ParserOptions() |
|
|
|
public ParserOptions() |
|
|
|
{ |
|
|
|
{ |
|
|
|
__Instance = Marshal.AllocHGlobal(116); |
|
|
|
__Instance = Marshal.AllocHGlobal(112); |
|
|
|
Internal.ParserOptions0(__Instance); |
|
|
|
Internal.ParserOptions0(__Instance); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -132,6 +137,21 @@ namespace CppSharp |
|
|
|
Marshal.FreeHGlobal(__Instance); |
|
|
|
Marshal.FreeHGlobal(__Instance); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Std.String FileName |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
|
|
|
|
return __ptr->FileName; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
|
|
|
|
__ptr->FileName = new Std.String(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Std.Vector<Std.String> IncludeDirs |
|
|
|
public Std.Vector<Std.String> IncludeDirs |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
|
@ -192,64 +212,64 @@ namespace CppSharp |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Std.String FileName |
|
|
|
public CppSharp.Parser.AST.ASTContext ASTContext |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
return __ptr->FileName; |
|
|
|
var __copy = new global::System.IntPtr(&__ptr->ASTContext); |
|
|
|
|
|
|
|
return new CppSharp.Parser.AST.ASTContext(__copy); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
set |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
__ptr->FileName = new Std.String(); |
|
|
|
__ptr->ASTContext = value.__Instance; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.Library Library |
|
|
|
public int ToolSetToUse |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __copy = new global::System.IntPtr(&__ptr->Library); |
|
|
|
return __ptr->ToolSetToUse; |
|
|
|
return new CppSharp.Parser.AST.Library(__copy); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
set |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
__ptr->Library = value.__Instance; |
|
|
|
__ptr->ToolSetToUse = value; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int ToolSetToUse |
|
|
|
public Std.String TargetTriple |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
return __ptr->ToolSetToUse; |
|
|
|
return __ptr->TargetTriple; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
set |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
__ptr->ToolSetToUse = value; |
|
|
|
__ptr->TargetTriple = new Std.String(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Std.String TargetTriple |
|
|
|
public CppSharp.Parser.AST.CppAbi Abi |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
return __ptr->TargetTriple; |
|
|
|
return __ptr->Abi; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
set |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
__ptr->TargetTriple = new Std.String(); |
|
|
|
__ptr->Abi = value; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -298,21 +318,6 @@ namespace CppSharp |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.CppAbi Abi |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
|
|
|
|
return __ptr->Abi; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
|
|
|
|
__ptr->Abi = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool Verbose |
|
|
|
public bool Verbose |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
|
@ -350,18 +355,23 @@ namespace CppSharp |
|
|
|
public int ColumnNumber; |
|
|
|
public int ColumnNumber; |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
EntryPoint="??0ParserDiagnostic@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
EntryPoint="??0ParserDiagnostic@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
public static extern global::System.IntPtr ParserDiagnostic1(global::System.IntPtr instance); |
|
|
|
public static extern global::System.IntPtr ParserDiagnostic1(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
EntryPoint="??0ParserDiagnostic@CppParser@CppSharp@@QAE@ABU012@@Z")] |
|
|
|
EntryPoint="??0ParserDiagnostic@CppParser@CppSharp@@QAE@ABU012@@Z")] |
|
|
|
public static extern global::System.IntPtr ParserDiagnostic2(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
public static extern global::System.IntPtr ParserDiagnostic2(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int CppSharp.Runtime.ICppMarshal.NativeDataSize |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get { return 60; } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void CppSharp.Runtime.ICppMarshal.MarshalManagedToNative(global::System.IntPtr instance) |
|
|
|
void CppSharp.Runtime.ICppMarshal.MarshalManagedToNative(global::System.IntPtr instance) |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
@ -480,31 +490,39 @@ namespace CppSharp |
|
|
|
|
|
|
|
|
|
|
|
public unsafe partial class ParserResult : IDisposable, CppSharp.Runtime.ICppMarshal |
|
|
|
public unsafe partial class ParserResult : IDisposable, CppSharp.Runtime.ICppMarshal |
|
|
|
{ |
|
|
|
{ |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 20)] |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 24)] |
|
|
|
public struct Internal |
|
|
|
public struct Internal |
|
|
|
{ |
|
|
|
{ |
|
|
|
[FieldOffset(0)] |
|
|
|
[FieldOffset(0)] |
|
|
|
public CppSharp.Parser.ParserResultKind Kind; |
|
|
|
public CppSharp.Parser.ParserResultKind Kind; |
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(4)] |
|
|
|
[FieldOffset(4)] |
|
|
|
public global::System.IntPtr Library; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(8)] |
|
|
|
|
|
|
|
public Std.Vector Diagnostics; |
|
|
|
public Std.Vector Diagnostics; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(16)] |
|
|
|
|
|
|
|
public global::System.IntPtr ASTContext; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(20)] |
|
|
|
|
|
|
|
public global::System.IntPtr Library; |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
EntryPoint="??0ParserResult@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
EntryPoint="??0ParserResult@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
public static extern global::System.IntPtr ParserResult1(global::System.IntPtr instance); |
|
|
|
public static extern global::System.IntPtr ParserResult1(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
EntryPoint="??0ParserResult@CppParser@CppSharp@@QAE@ABU012@@Z")] |
|
|
|
EntryPoint="??0ParserResult@CppParser@CppSharp@@QAE@ABU012@@Z")] |
|
|
|
public static extern global::System.IntPtr ParserResult2(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
public static extern global::System.IntPtr ParserResult2(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int CppSharp.Runtime.ICppMarshal.NativeDataSize |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get { return 24; } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void CppSharp.Runtime.ICppMarshal.MarshalManagedToNative(global::System.IntPtr instance) |
|
|
|
void CppSharp.Runtime.ICppMarshal.MarshalManagedToNative(global::System.IntPtr instance) |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
@ -530,7 +548,7 @@ namespace CppSharp |
|
|
|
|
|
|
|
|
|
|
|
public ParserResult() |
|
|
|
public ParserResult() |
|
|
|
{ |
|
|
|
{ |
|
|
|
__Instance = Marshal.AllocHGlobal(20); |
|
|
|
__Instance = Marshal.AllocHGlobal(24); |
|
|
|
Internal.ParserResult1(__Instance); |
|
|
|
Internal.ParserResult1(__Instance); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -560,34 +578,50 @@ namespace CppSharp |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.Library Library |
|
|
|
public Std.Vector<CppSharp.Parser.ParserDiagnostic> Diagnostics |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __copy = new global::System.IntPtr(&__ptr->Library); |
|
|
|
return new Std.Vector<CppSharp.Parser.ParserDiagnostic>(__ptr->Diagnostics); |
|
|
|
return new CppSharp.Parser.AST.Library(__copy); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
set |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
__ptr->Library = value.__Instance; |
|
|
|
__ptr->Diagnostics = value.Internal; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Std.Vector<CppSharp.Parser.ParserDiagnostic> Diagnostics |
|
|
|
public CppSharp.Parser.AST.ASTContext ASTContext |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
return new Std.Vector<CppSharp.Parser.ParserDiagnostic>(__ptr->Diagnostics); |
|
|
|
var __copy = new global::System.IntPtr(&__ptr->ASTContext); |
|
|
|
|
|
|
|
return new CppSharp.Parser.AST.ASTContext(__copy); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
set |
|
|
|
{ |
|
|
|
{ |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
__ptr->Diagnostics = value.Internal; |
|
|
|
__ptr->ASTContext = value.__Instance; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.NativeLibrary Library |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
|
|
|
|
var __copy = new global::System.IntPtr(&__ptr->Library); |
|
|
|
|
|
|
|
return new CppSharp.Parser.AST.NativeLibrary(__copy); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var __ptr = (Internal*)__Instance.ToPointer(); |
|
|
|
|
|
|
|
__ptr->Library = value.__Instance; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -598,23 +632,28 @@ namespace CppSharp |
|
|
|
public struct Internal |
|
|
|
public struct Internal |
|
|
|
{ |
|
|
|
{ |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
EntryPoint="??0ClangParser@CppParser@CppSharp@@QAE@ABV012@@Z")] |
|
|
|
EntryPoint="??0ClangParser@CppParser@CppSharp@@QAE@ABV012@@Z")] |
|
|
|
public static extern global::System.IntPtr ClangParser1(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
public static extern global::System.IntPtr ClangParser1(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp", CallingConvention = System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
EntryPoint="?ParseHeader@ClangParser@CppParser@CppSharp@@SAPAUParserResult@23@PAUParserOptions@23@@Z")] |
|
|
|
EntryPoint="?ParseHeader@ClangParser@CppParser@CppSharp@@SAPAUParserResult@23@PAUParserOptions@23@@Z")] |
|
|
|
public static extern global::System.IntPtr ParseHeader0(global::System.IntPtr Opts); |
|
|
|
public static extern global::System.IntPtr ParseHeader0(global::System.IntPtr Opts); |
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
[DllImport("CppSharp", CallingConvention = System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
|
|
EntryPoint="?ParseLibrary@ClangParser@CppParser@CppSharp@@SAPAUParserResult@23@PAUParserOptions@23@@Z")] |
|
|
|
EntryPoint="?ParseLibrary@ClangParser@CppParser@CppSharp@@SAPAUParserResult@23@PAUParserOptions@23@@Z")] |
|
|
|
public static extern global::System.IntPtr ParseLibrary0(global::System.IntPtr Opts); |
|
|
|
public static extern global::System.IntPtr ParseLibrary0(global::System.IntPtr Opts); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int CppSharp.Runtime.ICppMarshal.NativeDataSize |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get { return 0; } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void CppSharp.Runtime.ICppMarshal.MarshalManagedToNative(global::System.IntPtr instance) |
|
|
|
void CppSharp.Runtime.ICppMarshal.MarshalManagedToNative(global::System.IntPtr instance) |
|
|
|
{ |
|
|
|
{ |
|
|
|
} |
|
|
|
} |
|
|
|
|