Permalink
Browse files

Generated C# marshalling structures for classes nested in specialisat…

…ions.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
  • Loading branch information...
ddobrev committed Jun 29, 2017
1 parent 3d9b8df commit e04afb8bd572e56f7649b52431a3c0d9482aec0e
@@ -215,15 +215,6 @@ public virtual void Dispose(bool disposing)
}
}
public unsafe partial class Rebind
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
public partial struct __Internal
{
}
}
namespace CompressedPair
{
[StructLayout(LayoutKind.Explicit, Size = 12)]
@@ -1473,47 +1464,69 @@ public string CStr()
}
public unsafe partial class Long
public unsafe partial class Rep
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct __Internal
{
[FieldOffset(0)]
internal global::Std.__1.BasicString.Rep._.__Internal _;
}
}
public unsafe partial class Short
public unsafe partial class Long
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct __Internal
{
[FieldOffset(0)]
internal uint __cap_;
[FieldOffset(4)]
internal uint __size_;
[FieldOffset(8)]
internal global::System.IntPtr __data_;
}
}
public unsafe partial struct Ulx
public unsafe partial class Short
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct __Internal
{
[FieldOffset(0)]
internal global::Std.__1.BasicString.Short._.__Internal _;
[FieldOffset(1)]
internal fixed sbyte __data_[11];
}
}
public unsafe partial class Raw
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct __Internal
{
[FieldOffset(0)]
internal fixed uint __words[3];
}
}
public unsafe partial class Rep
public unsafe partial struct Ulx
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct __Internal
{
[FieldOffset(0)]
internal global::Std.__1.BasicString.Long.__Internal __lx;
[FieldOffset(0)]
internal global::Std.__1.BasicString.Short.__Internal __lxx;
}
}
}
@@ -469,15 +469,6 @@ public virtual void Dispose(bool disposing)
__Instance = IntPtr.Zero;
}
}
public unsafe partial class Rebind
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
public partial struct __Internal
{
}
}
}
namespace Std
@@ -603,9 +594,17 @@ public unsafe partial struct __Internal
public unsafe partial struct Bxty
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct __Internal
{
[FieldOffset(0)]
internal fixed sbyte _Buf[16];
[FieldOffset(0)]
internal global::System.IntPtr _Ptr;
[FieldOffset(0)]
internal fixed sbyte _Alias[16];
}
}
}
@@ -215,15 +215,6 @@ public virtual void Dispose(bool disposing)
}
}
public unsafe partial class Rebind
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
public partial struct __Internal
{
}
}
namespace CompressedPair
{
[StructLayout(LayoutKind.Explicit, Size = 24)]
@@ -1473,47 +1464,69 @@ public string CStr()
}
public unsafe partial class Long
public unsafe partial class Rep
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 24)]
public partial struct __Internal
{
[FieldOffset(0)]
internal global::Std.__1.BasicString.Rep._.__Internal _;
}
}
public unsafe partial class Short
public unsafe partial class Long
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 24)]
public partial struct __Internal
{
[FieldOffset(0)]
internal ulong __cap_;
[FieldOffset(8)]
internal ulong __size_;
[FieldOffset(16)]
internal global::System.IntPtr __data_;
}
}
public unsafe partial struct Ulx
public unsafe partial class Short
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 24)]
public partial struct __Internal
{
[FieldOffset(0)]
internal global::Std.__1.BasicString.Short._.__Internal _;
[FieldOffset(1)]
internal fixed sbyte __data_[23];
}
}
public unsafe partial class Raw
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 24)]
public partial struct __Internal
{
[FieldOffset(0)]
internal fixed ulong __words[3];
}
}
public unsafe partial class Rep
public unsafe partial struct Ulx
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 24)]
public partial struct __Internal
{
[FieldOffset(0)]
internal global::Std.__1.BasicString.Long.__Internal __lx;
[FieldOffset(0)]
internal global::Std.__1.BasicString.Short.__Internal __lxx;
}
}
}
@@ -120,15 +120,6 @@ public virtual void Dispose(bool disposing)
__Instance = IntPtr.Zero;
}
}
public unsafe partial class Rebind
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
public partial struct __Internal
{
}
}
}
namespace Std
@@ -145,9 +136,17 @@ public unsafe partial struct __Internal
public unsafe partial class VectorImpl
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 24)]
public partial struct __Internal
{
[FieldOffset(0)]
internal global::System.IntPtr _M_start;
[FieldOffset(8)]
internal global::System.IntPtr _M_finish;
[FieldOffset(16)]
internal global::System.IntPtr _M_end_of_storage;
}
}
}
@@ -221,16 +220,24 @@ public unsafe partial struct __Internal
}
public unsafe partial class ReuseOrAllocNode
public unsafe partial class RbTreeImpl
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
public partial struct __Internal
[StructLayout(LayoutKind.Explicit, Size = 48)]
public unsafe partial struct __Internal
{
[FieldOffset(0)]
internal global::Std.Less.__Internal _M_key_compare;
[FieldOffset(8)]
internal global::Std.RbTreeNodeBase.__Internal _M_header;
[FieldOffset(40)]
internal ulong _M_node_count;
}
}
public unsafe partial class AllocNode
public unsafe partial class ReuseOrAllocNode
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
public partial struct __Internal
@@ -239,7 +246,7 @@ public partial struct __Internal
}
public unsafe partial class RbTreeImpl
public unsafe partial class AllocNode
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
public partial struct __Internal
@@ -705,18 +712,25 @@ public string CStr()
public unsafe partial class AllocHider
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 8)]
public partial struct __Internal
{
[FieldOffset(0)]
internal global::System.IntPtr _M_p;
}
}
public unsafe partial struct _
{
[StructLayout(LayoutKind.Explicit, Size = 0)]
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct __Internal
{
[FieldOffset(0)]
internal fixed sbyte _M_local_buf[16];
[FieldOffset(0)]
internal ulong _M_allocated_capacity;
}
}
}
Oops, something went wrong.

0 comments on commit e04afb8

Please sign in to comment.