Skip to content

Commit fc1d753

Browse files
committed
Regenerated the parser bindings after making internals internal.
1 parent 1371f89 commit fc1d753

File tree

14 files changed

+1898
-8088
lines changed

14 files changed

+1898
-8088
lines changed

src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs

Lines changed: 223 additions & 220 deletions
Large diffs are not rendered by default.

src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs

Lines changed: 249 additions & 2667 deletions
Large diffs are not rendered by default.

src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs

Lines changed: 223 additions & 220 deletions
Large diffs are not rendered by default.

src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std.cs

Lines changed: 9 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
using System;
88
using System.Runtime.InteropServices;
99
using System.Security;
10+
using System.Runtime.CompilerServices;
11+
12+
[assembly:InternalsVisibleTo("CppSharp.Parser.CSharp")]
1013

1114
namespace Std
1215
{
@@ -400,17 +403,17 @@ public unsafe partial struct __Internal
400403
public global::System.IntPtr __Instance { get; protected set; }
401404

402405
protected int __PointerAdjustment;
403-
public static readonly System.Collections.Concurrent.ConcurrentDictionary<IntPtr, Allocator> NativeToManagedMap = new System.Collections.Concurrent.ConcurrentDictionary<IntPtr, Allocator>();
406+
internal static readonly System.Collections.Concurrent.ConcurrentDictionary<IntPtr, Allocator> NativeToManagedMap = new System.Collections.Concurrent.ConcurrentDictionary<IntPtr, Allocator>();
404407
protected void*[] __OriginalVTables;
405408

406409
protected bool __ownsNativeInstance;
407410

408-
public static Allocator __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
411+
internal static Allocator __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
409412
{
410413
return new Allocator(native.ToPointer(), skipVTables);
411414
}
412415

413-
public static Allocator __CreateInstance(Allocator.__Internal native, bool skipVTables = false)
416+
internal static Allocator __CreateInstance(Allocator.__Internal native, bool skipVTables = false)
414417
{
415418
return new Allocator(native, skipVTables);
416419
}
@@ -496,17 +499,17 @@ public unsafe partial struct __Internal
496499
public global::System.IntPtr __Instance { get; protected set; }
497500

498501
protected int __PointerAdjustment;
499-
public static readonly System.Collections.Concurrent.ConcurrentDictionary<IntPtr, BasicString> NativeToManagedMap = new System.Collections.Concurrent.ConcurrentDictionary<IntPtr, BasicString>();
502+
internal static readonly System.Collections.Concurrent.ConcurrentDictionary<IntPtr, BasicString> NativeToManagedMap = new System.Collections.Concurrent.ConcurrentDictionary<IntPtr, BasicString>();
500503
protected void*[] __OriginalVTables;
501504

502505
protected bool __ownsNativeInstance;
503506

504-
public static BasicString __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
507+
internal static BasicString __CreateInstance(global::System.IntPtr native, bool skipVTables = false)
505508
{
506509
return new BasicString(native.ToPointer(), skipVTables);
507510
}
508511

509-
public static BasicString __CreateInstance(BasicString.__Internal native, bool skipVTables = false)
512+
internal static BasicString __CreateInstance(BasicString.__Internal native, bool skipVTables = false)
510513
{
511514
return new BasicString(native, skipVTables);
512515
}
@@ -690,99 +693,6 @@ public partial struct __Internal
690693

691694
[FieldOffset(12)]
692695
public fixed byte _Isleadbyte[32];
693-
694-
[FieldOffset(13)]
695-
public byte __dummy__Isleadbyte_1;
696-
697-
[FieldOffset(14)]
698-
public byte __dummy__Isleadbyte_2;
699-
700-
[FieldOffset(15)]
701-
public byte __dummy__Isleadbyte_3;
702-
703-
[FieldOffset(16)]
704-
public byte __dummy__Isleadbyte_4;
705-
706-
[FieldOffset(17)]
707-
public byte __dummy__Isleadbyte_5;
708-
709-
[FieldOffset(18)]
710-
public byte __dummy__Isleadbyte_6;
711-
712-
[FieldOffset(19)]
713-
public byte __dummy__Isleadbyte_7;
714-
715-
[FieldOffset(20)]
716-
public byte __dummy__Isleadbyte_8;
717-
718-
[FieldOffset(21)]
719-
public byte __dummy__Isleadbyte_9;
720-
721-
[FieldOffset(22)]
722-
public byte __dummy__Isleadbyte_10;
723-
724-
[FieldOffset(23)]
725-
public byte __dummy__Isleadbyte_11;
726-
727-
[FieldOffset(24)]
728-
public byte __dummy__Isleadbyte_12;
729-
730-
[FieldOffset(25)]
731-
public byte __dummy__Isleadbyte_13;
732-
733-
[FieldOffset(26)]
734-
public byte __dummy__Isleadbyte_14;
735-
736-
[FieldOffset(27)]
737-
public byte __dummy__Isleadbyte_15;
738-
739-
[FieldOffset(28)]
740-
public byte __dummy__Isleadbyte_16;
741-
742-
[FieldOffset(29)]
743-
public byte __dummy__Isleadbyte_17;
744-
745-
[FieldOffset(30)]
746-
public byte __dummy__Isleadbyte_18;
747-
748-
[FieldOffset(31)]
749-
public byte __dummy__Isleadbyte_19;
750-
751-
[FieldOffset(32)]
752-
public byte __dummy__Isleadbyte_20;
753-
754-
[FieldOffset(33)]
755-
public byte __dummy__Isleadbyte_21;
756-
757-
[FieldOffset(34)]
758-
public byte __dummy__Isleadbyte_22;
759-
760-
[FieldOffset(35)]
761-
public byte __dummy__Isleadbyte_23;
762-
763-
[FieldOffset(36)]
764-
public byte __dummy__Isleadbyte_24;
765-
766-
[FieldOffset(37)]
767-
public byte __dummy__Isleadbyte_25;
768-
769-
[FieldOffset(38)]
770-
public byte __dummy__Isleadbyte_26;
771-
772-
[FieldOffset(39)]
773-
public byte __dummy__Isleadbyte_27;
774-
775-
[FieldOffset(40)]
776-
public byte __dummy__Isleadbyte_28;
777-
778-
[FieldOffset(41)]
779-
public byte __dummy__Isleadbyte_29;
780-
781-
[FieldOffset(42)]
782-
public byte __dummy__Isleadbyte_30;
783-
784-
[FieldOffset(43)]
785-
public byte __dummy__Isleadbyte_31;
786696
}
787697
}
788698

0 commit comments

Comments
 (0)