mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
821 lines
33 KiB
821 lines
33 KiB
// ---------------------------------------------------------------------------- |
|
// <auto-generated> |
|
// This is autogenerated code by CppSharp. |
|
// Do not edit this file or all your changes will be lost after re-generation. |
|
// </auto-generated> |
|
// ---------------------------------------------------------------------------- |
|
using System; |
|
using System.Runtime.InteropServices; |
|
using System.Security; |
|
using System.Runtime.CompilerServices; |
|
|
|
[assembly:InternalsVisibleTo("CppSharp.Parser.CSharp")] |
|
|
|
[assembly:InternalsVisibleTo("CppSharp.CppParser")] |
|
|
|
namespace Std |
|
{ |
|
public unsafe partial class Lockit |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 4)] |
|
public partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal int _Locktype; |
|
} |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
public unsafe partial class ExceptionPtr |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
public partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal global::System.IntPtr _Data1; |
|
|
|
[FieldOffset(4)] |
|
internal global::System.IntPtr _Data2; |
|
} |
|
} |
|
} |
|
|
|
public unsafe partial class StdExceptionData |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
public partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal global::System.IntPtr _What; |
|
|
|
[FieldOffset(4)] |
|
internal byte _DoFree; |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
public unsafe partial class CharTraits : IDisposable |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 0)] |
|
public unsafe partial struct __Internal |
|
{ |
|
[SuppressUnmanagedCodeSecurity] |
|
[DllImport("Std-symbols", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, |
|
EntryPoint="?eof@?$char_traits@D@std@@SAHXZ")] |
|
internal static extern int Eofc__N_std_S_char_traits__C_0(); |
|
} |
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
protected int __PointerAdjustment; |
|
internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary<IntPtr, global::Std.CharTraits> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary<IntPtr, global::Std.CharTraits>(); |
|
protected void*[] __OriginalVTables; |
|
|
|
protected bool __ownsNativeInstance; |
|
|
|
internal static global::Std.CharTraits __CreateInstance(global::System.IntPtr native, bool skipVTables = false) |
|
{ |
|
return new global::Std.CharTraits(native.ToPointer(), skipVTables); |
|
} |
|
|
|
internal static global::Std.CharTraits __CreateInstance(global::Std.CharTraits.__Internal native, bool skipVTables = false) |
|
{ |
|
return new global::Std.CharTraits(native, skipVTables); |
|
} |
|
|
|
private static void* __CopyValue(global::Std.CharTraits.__Internal native) |
|
{ |
|
var ret = Marshal.AllocHGlobal(sizeof(global::Std.CharTraits.__Internal)); |
|
*(global::Std.CharTraits.__Internal*) ret = native; |
|
return ret.ToPointer(); |
|
} |
|
|
|
private CharTraits(global::Std.CharTraits.__Internal native, bool skipVTables = false) |
|
: this(__CopyValue(native), skipVTables) |
|
{ |
|
__ownsNativeInstance = true; |
|
NativeToManagedMap[__Instance] = this; |
|
} |
|
|
|
protected CharTraits(void* native, bool skipVTables = false) |
|
{ |
|
if (native == null) |
|
return; |
|
__Instance = new global::System.IntPtr(native); |
|
} |
|
|
|
public CharTraits() |
|
{ |
|
__Instance = Marshal.AllocHGlobal(sizeof(global::Std.CharTraits.__Internal)); |
|
__ownsNativeInstance = true; |
|
NativeToManagedMap[__Instance] = this; |
|
} |
|
|
|
public void Dispose() |
|
{ |
|
Dispose(disposing: true); |
|
} |
|
|
|
public virtual void Dispose(bool disposing) |
|
{ |
|
if (__Instance == IntPtr.Zero) |
|
return; |
|
global::Std.CharTraits __dummy; |
|
NativeToManagedMap.TryRemove(__Instance, out __dummy); |
|
if (__ownsNativeInstance) |
|
Marshal.FreeHGlobal(__Instance); |
|
__Instance = IntPtr.Zero; |
|
} |
|
|
|
public static int Eof() |
|
{ |
|
var __ret = global::Std.CharTraits.__Internal.Eofc__N_std_S_char_traits__C_0(); |
|
return __ret; |
|
} |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
} |
|
|
|
namespace Std |
|
{ |
|
namespace Yarn |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
public unsafe partial struct __Internalc__N_std_S__Yarn__C |
|
{ |
|
[FieldOffset(0)] |
|
internal global::System.IntPtr _Myptr; |
|
|
|
[FieldOffset(4)] |
|
internal sbyte _Nul; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
public unsafe partial struct __Internalc__N_std_S__Yarn__W |
|
{ |
|
[FieldOffset(0)] |
|
internal global::System.IntPtr _Myptr; |
|
|
|
[FieldOffset(4)] |
|
internal char _Nul; |
|
} |
|
} |
|
|
|
namespace CompressedPair |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 24)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator__C___N_std_S__String_val____N_std_S__Simple_types__C_Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.StringVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 24)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator__W___N_std_S__String_val____N_std_S__Simple_types__W_Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.StringVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 24)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator__q___N_std_S__String_val____N_std_S__Simple_types__q_Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.StringVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 24)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator__w___N_std_S__String_val____N_std_S__Simple_types__w_Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.StringVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_BlockContentComment___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Parameter___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_FunctionTemplateSpecialization___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_CppSharp_N_CppParser_N_AST_S_TemplateArgument___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Function___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Template___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_TypedefDecl___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_TypeAlias___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Variable___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Friend___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S_less____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_std_S__Tree_node____N_std_S_pair__1S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration__v___N_std_S__Tree_val____N_std_S__Tree_simple_types__S8__Vb1_Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.CompressedPair.__Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_std_S__Tree_node____N_std_S_pair__1__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration__v___N_std_S__Tree_val____N_std_S__Tree_simple_types__S3__Vb1 _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_std_S__Tree_node____N_std_S_pair__1__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration__v___N_std_S__Tree_val____N_std_S__Tree_simple_types__S3__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.TreeVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_BaseClassSpecifier___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Field___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Method___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_AccessSpecifierDecl___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_CppSharp_N_CppParser_N_AST_S_VTableComponent___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_CppSharp_N_CppParser_N_AST_S_VFTableInfo___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_CppSharp_N_CppParser_N_AST_S_LayoutField___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_CppSharp_N_CppParser_N_AST_S_LayoutBase___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Class___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Enumeration_S_Item___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Enumeration___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Namespace___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_ClassTemplateSpecialization___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_Expression___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_VarTemplateSpecialization___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_MacroDefinition___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_TranslationUnit___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_InlineContentComment___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_CppSharp_N_CppParser_N_AST_S_BlockCommandComment_S_Argument___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator__i___N_std_S__Vector_val____N_std_S__Simple_types__i_Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_VerbatimBlockLineComment___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_CppSharp_N_CppParser_N_AST_S_InlineCommandComment_S_Argument___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_CppSharp_N_CppParser_N_AST_S_HTMLStartTagComment_S_Attribute___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_CppSharp_N_CppParser_S_ParserDiagnostic___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.VectorVal.__Internal _Myval2; |
|
} |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
public unsafe partial class Allocator : IDisposable |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 0)] |
|
public unsafe partial struct __Internal |
|
{ |
|
[SuppressUnmanagedCodeSecurity] |
|
[DllImport("Std-symbols", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
EntryPoint="??0?$allocator@D@std@@QAE@XZ")] |
|
internal static extern global::System.IntPtr ctorc__N_std_S_allocator__C_0(global::System.IntPtr instance); |
|
} |
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
protected int __PointerAdjustment; |
|
internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary<IntPtr, global::Std.Allocator> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary<IntPtr, global::Std.Allocator>(); |
|
protected void*[] __OriginalVTables; |
|
|
|
protected bool __ownsNativeInstance; |
|
|
|
internal static global::Std.Allocator __CreateInstance(global::System.IntPtr native, bool skipVTables = false) |
|
{ |
|
return new global::Std.Allocator(native.ToPointer(), skipVTables); |
|
} |
|
|
|
internal static global::Std.Allocator __CreateInstance(global::Std.Allocator.__Internal native, bool skipVTables = false) |
|
{ |
|
return new global::Std.Allocator(native, skipVTables); |
|
} |
|
|
|
private static void* __CopyValue(global::Std.Allocator.__Internal native) |
|
{ |
|
var ret = Marshal.AllocHGlobal(sizeof(global::Std.Allocator.__Internal)); |
|
*(global::Std.Allocator.__Internal*) ret = native; |
|
return ret.ToPointer(); |
|
} |
|
|
|
private Allocator(global::Std.Allocator.__Internal native, bool skipVTables = false) |
|
: this(__CopyValue(native), skipVTables) |
|
{ |
|
__ownsNativeInstance = true; |
|
NativeToManagedMap[__Instance] = this; |
|
} |
|
|
|
protected Allocator(void* native, bool skipVTables = false) |
|
{ |
|
if (native == null) |
|
return; |
|
__Instance = new global::System.IntPtr(native); |
|
} |
|
|
|
public Allocator() |
|
{ |
|
__Instance = Marshal.AllocHGlobal(sizeof(global::Std.Allocator.__Internal)); |
|
__ownsNativeInstance = true; |
|
NativeToManagedMap[__Instance] = this; |
|
global::Std.Allocator.__Internal.ctorc__N_std_S_allocator__C_0((__Instance + __PointerAdjustment)); |
|
} |
|
|
|
public void Dispose() |
|
{ |
|
Dispose(disposing: true); |
|
} |
|
|
|
public virtual void Dispose(bool disposing) |
|
{ |
|
if (__Instance == IntPtr.Zero) |
|
return; |
|
global::Std.Allocator __dummy; |
|
NativeToManagedMap.TryRemove(__Instance, out __dummy); |
|
if (__ownsNativeInstance) |
|
Marshal.FreeHGlobal(__Instance); |
|
__Instance = IntPtr.Zero; |
|
} |
|
} |
|
|
|
|
|
public unsafe partial class Rebind |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 0)] |
|
public partial struct __Internal |
|
{ |
|
} |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
} |
|
|
|
namespace Std |
|
{ |
|
public unsafe partial class BasicString : IDisposable |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 24)] |
|
public unsafe partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.CompressedPair.__Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator__C___N_std_S__String_val____N_std_S__Simple_types__C_Vb1 _Mypair; |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
[DllImport("Std-symbols", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
EntryPoint="??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ")] |
|
internal static extern void dtorc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C_0(global::System.IntPtr instance, int delete); |
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
[DllImport("Std-symbols", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
EntryPoint="?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ")] |
|
internal static extern global::System.IntPtr CStrc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C_0(global::System.IntPtr instance); |
|
} |
|
|
|
public global::System.IntPtr __Instance { get; protected set; } |
|
|
|
protected int __PointerAdjustment; |
|
internal static readonly global::System.Collections.Concurrent.ConcurrentDictionary<IntPtr, global::Std.BasicString> NativeToManagedMap = new global::System.Collections.Concurrent.ConcurrentDictionary<IntPtr, global::Std.BasicString>(); |
|
protected void*[] __OriginalVTables; |
|
|
|
protected bool __ownsNativeInstance; |
|
|
|
internal static global::Std.BasicString __CreateInstance(global::System.IntPtr native, bool skipVTables = false) |
|
{ |
|
return new global::Std.BasicString(native.ToPointer(), skipVTables); |
|
} |
|
|
|
internal static global::Std.BasicString __CreateInstance(global::Std.BasicString.__Internal native, bool skipVTables = false) |
|
{ |
|
return new global::Std.BasicString(native, skipVTables); |
|
} |
|
|
|
private static void* __CopyValue(global::Std.BasicString.__Internal native) |
|
{ |
|
var ret = Marshal.AllocHGlobal(sizeof(global::Std.BasicString.__Internal)); |
|
*(global::Std.BasicString.__Internal*) ret = native; |
|
return ret.ToPointer(); |
|
} |
|
|
|
private BasicString(global::Std.BasicString.__Internal native, bool skipVTables = false) |
|
: this(__CopyValue(native), skipVTables) |
|
{ |
|
__ownsNativeInstance = true; |
|
NativeToManagedMap[__Instance] = this; |
|
} |
|
|
|
protected BasicString(void* native, bool skipVTables = false) |
|
{ |
|
if (native == null) |
|
return; |
|
__Instance = new global::System.IntPtr(native); |
|
} |
|
|
|
public void Dispose() |
|
{ |
|
Dispose(disposing: true); |
|
} |
|
|
|
public virtual void Dispose(bool disposing) |
|
{ |
|
if (__Instance == IntPtr.Zero) |
|
return; |
|
global::Std.BasicString __dummy; |
|
NativeToManagedMap.TryRemove(__Instance, out __dummy); |
|
if (disposing) |
|
global::Std.BasicString.__Internal.dtorc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C_0((__Instance + __PointerAdjustment), 0); |
|
if (__ownsNativeInstance) |
|
Marshal.FreeHGlobal(__Instance); |
|
__Instance = IntPtr.Zero; |
|
} |
|
|
|
public string CStr() |
|
{ |
|
var __ret = global::Std.BasicString.__Internal.CStrc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C_0((__Instance + __PointerAdjustment)); |
|
return Marshal.PtrToStringAnsi(__ret); |
|
} |
|
} |
|
|
|
namespace StringVal |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 24)] |
|
public unsafe partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.StringVal.Bxty.__Internal _Bx; |
|
|
|
[FieldOffset(16)] |
|
internal uint _Mysize; |
|
|
|
[FieldOffset(20)] |
|
internal uint _Myres; |
|
} |
|
|
|
|
|
public unsafe partial struct Bxty |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 0)] |
|
public partial struct __Internal |
|
{ |
|
} |
|
} |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
namespace VectorVal |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal global::System.IntPtr _Myfirst; |
|
|
|
[FieldOffset(4)] |
|
internal global::System.IntPtr _Mylast; |
|
|
|
[FieldOffset(8)] |
|
internal global::System.IntPtr _Myend; |
|
} |
|
} |
|
|
|
namespace Vector |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 12)] |
|
public unsafe partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.CompressedPair.__Internalc__N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_S__Vector_val____N_std_S__Simple_types__S2__Vb1 _Mypair; |
|
} |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
} |
|
|
|
namespace Std |
|
{ |
|
namespace TreeVal |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
public unsafe partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal global::System.IntPtr _Myhead; |
|
|
|
[FieldOffset(4)] |
|
internal uint _Mysize; |
|
} |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
namespace Map |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
public unsafe partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal global::Std.CompressedPair.__Internalc__N_std_S__Compressed_pair____N_std_S_less____N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C___N_std_S__Compressed_pair____N_std_S__Wrap_alloc____N_std_S_allocator____N_std_S__Tree_node____N_std_S_pair__1S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration__v___N_std_S__Tree_val____N_std_S__Tree_simple_types__S8__Vb1_Vb1 _Mypair; |
|
} |
|
} |
|
} |
|
|
|
public unsafe partial class StdTypeInfoData |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
public partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal global::System.IntPtr _UndecoratedName; |
|
|
|
[FieldOffset(4)] |
|
internal fixed sbyte _DecoratedName[1]; |
|
} |
|
} |
|
|
|
public unsafe partial class Ctypevec |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 16)] |
|
public partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal uint _Page; |
|
|
|
[FieldOffset(4)] |
|
internal global::System.IntPtr _Table; |
|
|
|
[FieldOffset(8)] |
|
internal int _Delfl; |
|
|
|
[FieldOffset(12)] |
|
internal global::System.IntPtr _LocaleName; |
|
} |
|
} |
|
|
|
public unsafe partial class Cvtvec |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 44)] |
|
public partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal uint _Page; |
|
|
|
[FieldOffset(4)] |
|
internal uint _Mbcurmax; |
|
|
|
[FieldOffset(8)] |
|
internal int _Isclocale; |
|
|
|
[FieldOffset(12)] |
|
internal fixed byte _Isleadbyte[32]; |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
[Flags] |
|
public enum CodecvtMode |
|
{ |
|
ConsumeHeader = 4, |
|
GenerateHeader = 2 |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
public unsafe partial class ErrorCode |
|
{ |
|
[StructLayout(LayoutKind.Explicit, Size = 8)] |
|
public partial struct __Internal |
|
{ |
|
[FieldOffset(0)] |
|
internal int _Myval; |
|
|
|
[FieldOffset(4)] |
|
internal global::System.IntPtr _Mycat; |
|
} |
|
} |
|
} |
|
|
|
namespace Std |
|
{ |
|
namespace Literals |
|
{ |
|
} |
|
}
|
|
|