From 352bb1c5027af888920629c2c62ff3d1971268ae Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Mon, 11 Jan 2016 23:48:51 +0200 Subject: [PATCH] Regenerated the parser bindings after the introduction of Declaration::IsImplicit. Signed-off-by: Dimitar Dobrev --- src/CppParser/Bindings/CLI/AST.cpp | 20 ++-- src/CppParser/Bindings/CLI/AST.h | 12 +-- .../CSharp/i686-apple-darwin12.4.0/AST.cs | 97 +++++++++++++++---- .../Bindings/CSharp/i686-pc-win32-msvc/AST.cs | 97 +++++++++++++++---- .../CSharp/x86_64-apple-darwin12.4.0/AST.cs | 97 +++++++++++++++---- .../Bindings/CSharp/x86_64-linux-gnu/AST.cs | 91 +++++++++++++---- .../CSharp/x86_64-pc-win32-msvc/AST.cs | 97 +++++++++++++++---- 7 files changed, 398 insertions(+), 113 deletions(-) diff --git a/src/CppParser/Bindings/CLI/AST.cpp b/src/CppParser/Bindings/CLI/AST.cpp index 1dd59312..ea9086eb 100644 --- a/src/CppParser/Bindings/CLI/AST.cpp +++ b/src/CppParser/Bindings/CLI/AST.cpp @@ -1699,6 +1699,16 @@ void CppSharp::Parser::AST::Declaration::IsDependent::set(bool value) ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->IsDependent = value; } +bool CppSharp::Parser::AST::Declaration::IsImplicit::get() +{ + return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->IsImplicit; +} + +void CppSharp::Parser::AST::Declaration::IsImplicit::set(bool value) +{ + ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->IsImplicit = value; +} + CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Declaration::CompleteDeclaration::get() { return (((::CppSharp::CppParser::AST::Declaration*)NativePtr)->CompleteDeclaration == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->CompleteDeclaration); @@ -2699,16 +2709,6 @@ void CppSharp::Parser::AST::Method::IsConst::set(bool value) ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsConst = value; } -bool CppSharp::Parser::AST::Method::IsImplicit::get() -{ - return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsImplicit; -} - -void CppSharp::Parser::AST::Method::IsImplicit::set(bool value) -{ - ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsImplicit = value; -} - bool CppSharp::Parser::AST::Method::IsExplicit::get() { return ((::CppSharp::CppParser::AST::Method*)NativePtr)->IsExplicit; diff --git a/src/CppParser/Bindings/CLI/AST.h b/src/CppParser/Bindings/CLI/AST.h index e14a825a..8538264d 100644 --- a/src/CppParser/Bindings/CLI/AST.h +++ b/src/CppParser/Bindings/CLI/AST.h @@ -1225,6 +1225,12 @@ namespace CppSharp void set(bool); } + property bool IsImplicit + { + bool get(); + void set(bool); + } + property CppSharp::Parser::AST::Declaration^ CompleteDeclaration { CppSharp::Parser::AST::Declaration^ get(); @@ -1690,12 +1696,6 @@ namespace CppSharp void set(bool); } - property bool IsImplicit - { - bool get(); - void set(bool); - } - property bool IsExplicit { bool get(); diff --git a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs index 5f5f1d56..96d9d1f9 100644 --- a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs +++ b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs @@ -3438,6 +3438,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -3768,6 +3771,19 @@ namespace CppSharp } } + public bool IsImplicit + { + get + { + return ((Internal*) __Instance)->IsImplicit != 0; + } + + set + { + ((Internal*) __Instance)->IsImplicit = (byte) (value ? 1 : 0); + } + } + public CppSharp.Parser.AST.Declaration CompleteDeclaration { get @@ -3845,6 +3861,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -4407,6 +4426,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -4544,6 +4566,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -5312,6 +5337,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -5518,6 +5546,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -5909,6 +5940,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -5958,12 +5992,9 @@ namespace CppSharp public byte IsConst; [FieldOffset(159)] - public byte IsImplicit; - - [FieldOffset(160)] public byte IsExplicit; - [FieldOffset(161)] + [FieldOffset(160)] public byte IsOverride; [FieldOffset(164)] @@ -6099,19 +6130,6 @@ namespace CppSharp } } - public bool IsImplicit - { - get - { - return ((Internal*) __Instance)->IsImplicit != 0; - } - - set - { - ((Internal*) __Instance)->IsImplicit = (byte) (value ? 1 : 0); - } - } - public bool IsExplicit { get @@ -6236,6 +6254,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -6333,6 +6354,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -6642,6 +6666,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -6959,6 +6986,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -7165,6 +7195,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -7286,6 +7319,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -7787,6 +7823,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -7993,6 +8032,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -8170,6 +8212,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -8410,6 +8455,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -8570,6 +8618,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -8948,6 +8999,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -9566,6 +9620,9 @@ namespace CppSharp [FieldOffset(53)] public byte IsDependent; + [FieldOffset(54)] + public byte IsImplicit; + [FieldOffset(56)] public global::System.IntPtr CompleteDeclaration; @@ -9772,7 +9829,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="_ZN8CppSharp9CppParser3AST13NativeLibraryC2ERKS2_")] - internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -9851,7 +9908,7 @@ namespace CppSharp private static NativeLibrary.Internal* __CopyValue(NativeLibrary.Internal native) { var ret = Marshal.AllocHGlobal(40); - CppSharp.Parser.AST.NativeLibrary.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.NativeLibrary.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return (NativeLibrary.Internal*) ret; } @@ -9885,7 +9942,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() diff --git a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs index 81c5a733..a765c8c9 100644 --- a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs +++ b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs @@ -3438,6 +3438,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -3768,6 +3771,19 @@ namespace CppSharp } } + public bool IsImplicit + { + get + { + return ((Internal*) __Instance)->IsImplicit != 0; + } + + set + { + ((Internal*) __Instance)->IsImplicit = (byte) (value ? 1 : 0); + } + } + public CppSharp.Parser.AST.Declaration CompleteDeclaration { get @@ -3845,6 +3861,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -4407,6 +4426,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -4544,6 +4566,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -5312,6 +5337,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -5518,6 +5546,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -5909,6 +5940,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -5958,12 +5992,9 @@ namespace CppSharp public byte IsConst; [FieldOffset(219)] - public byte IsImplicit; - - [FieldOffset(220)] public byte IsExplicit; - [FieldOffset(221)] + [FieldOffset(220)] public byte IsOverride; [FieldOffset(224)] @@ -6099,19 +6130,6 @@ namespace CppSharp } } - public bool IsImplicit - { - get - { - return ((Internal*) __Instance)->IsImplicit != 0; - } - - set - { - ((Internal*) __Instance)->IsImplicit = (byte) (value ? 1 : 0); - } - } - public bool IsExplicit { get @@ -6236,6 +6254,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -6333,6 +6354,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -6642,6 +6666,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -6959,6 +6986,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -7165,6 +7195,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -7286,6 +7319,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -7787,6 +7823,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -7993,6 +8032,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -8170,6 +8212,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -8410,6 +8455,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -8570,6 +8618,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -8948,6 +8999,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -9566,6 +9620,9 @@ namespace CppSharp [FieldOffset(77)] public byte IsDependent; + [FieldOffset(78)] + public byte IsImplicit; + [FieldOffset(80)] public global::System.IntPtr CompleteDeclaration; @@ -9772,7 +9829,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, EntryPoint="??0NativeLibrary@AST@CppParser@CppSharp@@QAE@ABV0123@@Z")] - internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, @@ -9851,7 +9908,7 @@ namespace CppSharp private static NativeLibrary.Internal* __CopyValue(NativeLibrary.Internal native) { var ret = Marshal.AllocHGlobal(52); - CppSharp.Parser.AST.NativeLibrary.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.NativeLibrary.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return (NativeLibrary.Internal*) ret; } @@ -9885,7 +9942,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() diff --git a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/AST.cs b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/AST.cs index b643e8b6..2dcab2f8 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/AST.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/AST.cs @@ -3437,6 +3437,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -3767,6 +3770,19 @@ namespace CppSharp } } + public bool IsImplicit + { + get + { + return ((Internal*) __Instance)->IsImplicit != 0; + } + + set + { + ((Internal*) __Instance)->IsImplicit = (byte) (value ? 1 : 0); + } + } + public CppSharp.Parser.AST.Declaration CompleteDeclaration { get @@ -3844,6 +3860,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -4406,6 +4425,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -4543,6 +4565,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -5311,6 +5336,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -5517,6 +5545,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -5908,6 +5939,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -5957,12 +5991,9 @@ namespace CppSharp public byte IsConst; [FieldOffset(291)] - public byte IsImplicit; - - [FieldOffset(292)] public byte IsExplicit; - [FieldOffset(293)] + [FieldOffset(292)] public byte IsOverride; [FieldOffset(296)] @@ -6098,19 +6129,6 @@ namespace CppSharp } } - public bool IsImplicit - { - get - { - return ((Internal*) __Instance)->IsImplicit != 0; - } - - set - { - ((Internal*) __Instance)->IsImplicit = (byte) (value ? 1 : 0); - } - } - public bool IsExplicit { get @@ -6235,6 +6253,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -6332,6 +6353,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -6641,6 +6665,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -6958,6 +6985,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -7164,6 +7194,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -7285,6 +7318,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -7786,6 +7822,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -7992,6 +8031,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -8169,6 +8211,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -8409,6 +8454,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -8569,6 +8617,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -8947,6 +8998,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -9565,6 +9619,9 @@ namespace CppSharp [FieldOffset(89)] public byte IsDependent; + [FieldOffset(90)] + public byte IsImplicit; + [FieldOffset(96)] public global::System.IntPtr CompleteDeclaration; @@ -9771,7 +9828,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="_ZN8CppSharp9CppParser3AST13NativeLibraryC2ERKS2_")] - internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -9850,7 +9907,7 @@ namespace CppSharp private static NativeLibrary.Internal* __CopyValue(NativeLibrary.Internal native) { var ret = Marshal.AllocHGlobal(80); - CppSharp.Parser.AST.NativeLibrary.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.NativeLibrary.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return (NativeLibrary.Internal*) ret; } @@ -9884,7 +9941,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/AST.cs b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/AST.cs index cc96db61..a99c0993 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/AST.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/AST.cs @@ -3437,6 +3437,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -3767,6 +3770,19 @@ namespace CppSharp } } + public bool IsImplicit + { + get + { + return ((Internal*) __Instance)->IsImplicit != 0; + } + + set + { + ((Internal*) __Instance)->IsImplicit = (byte) (value ? 1 : 0); + } + } + public CppSharp.Parser.AST.Declaration CompleteDeclaration { get @@ -3844,6 +3860,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -4406,6 +4425,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -4543,6 +4565,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -5311,6 +5336,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -5517,6 +5545,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -5908,6 +5939,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -5957,12 +5991,9 @@ namespace CppSharp public byte IsConst; [FieldOffset(211)] - public byte IsImplicit; - - [FieldOffset(212)] public byte IsExplicit; - [FieldOffset(213)] + [FieldOffset(212)] public byte IsOverride; [FieldOffset(216)] @@ -6098,19 +6129,6 @@ namespace CppSharp } } - public bool IsImplicit - { - get - { - return ((Internal*) __Instance)->IsImplicit != 0; - } - - set - { - ((Internal*) __Instance)->IsImplicit = (byte) (value ? 1 : 0); - } - } - public bool IsExplicit { get @@ -6235,6 +6253,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -6332,6 +6353,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -6641,6 +6665,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -6958,6 +6985,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -7164,6 +7194,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -7285,6 +7318,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -7786,6 +7822,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -7992,6 +8031,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -8169,6 +8211,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -8409,6 +8454,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -8569,6 +8617,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -8947,6 +8998,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; @@ -9565,6 +9619,9 @@ namespace CppSharp [FieldOffset(57)] public byte IsDependent; + [FieldOffset(58)] + public byte IsImplicit; + [FieldOffset(64)] public global::System.IntPtr CompleteDeclaration; diff --git a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/AST.cs b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/AST.cs index 24f5cc28..60547e6c 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/AST.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/AST.cs @@ -3438,6 +3438,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -3768,6 +3771,19 @@ namespace CppSharp } } + public bool IsImplicit + { + get + { + return ((Internal*) __Instance)->IsImplicit != 0; + } + + set + { + ((Internal*) __Instance)->IsImplicit = (byte) (value ? 1 : 0); + } + } + public CppSharp.Parser.AST.Declaration CompleteDeclaration { get @@ -3845,6 +3861,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -4407,6 +4426,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -4544,6 +4566,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -5312,6 +5337,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -5518,6 +5546,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -5909,6 +5940,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -5958,12 +5992,9 @@ namespace CppSharp public byte IsConst; [FieldOffset(331)] - public byte IsImplicit; - - [FieldOffset(332)] public byte IsExplicit; - [FieldOffset(333)] + [FieldOffset(332)] public byte IsOverride; [FieldOffset(336)] @@ -6099,19 +6130,6 @@ namespace CppSharp } } - public bool IsImplicit - { - get - { - return ((Internal*) __Instance)->IsImplicit != 0; - } - - set - { - ((Internal*) __Instance)->IsImplicit = (byte) (value ? 1 : 0); - } - } - public bool IsExplicit { get @@ -6236,6 +6254,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -6333,6 +6354,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -6642,6 +6666,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -6959,6 +6986,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -7165,6 +7195,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -7286,6 +7319,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -7787,6 +7823,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -7993,6 +8032,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -8170,6 +8212,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -8410,6 +8455,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -8570,6 +8618,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -8948,6 +8999,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -9566,6 +9620,9 @@ namespace CppSharp [FieldOffset(105)] public byte IsDependent; + [FieldOffset(106)] + public byte IsImplicit; + [FieldOffset(112)] public global::System.IntPtr CompleteDeclaration; @@ -9772,7 +9829,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="??0NativeLibrary@AST@CppParser@CppSharp@@QEAA@AEBV0123@@Z")] - internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -9851,7 +9908,7 @@ namespace CppSharp private static NativeLibrary.Internal* __CopyValue(NativeLibrary.Internal native) { var ret = Marshal.AllocHGlobal(88); - CppSharp.Parser.AST.NativeLibrary.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.NativeLibrary.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return (NativeLibrary.Internal*) ret; } @@ -9885,7 +9942,7 @@ namespace CppSharp if (ReferenceEquals(_0, null)) throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose()