From 46332cc8c000521e8ef29162a2cad6fb34ebee6e Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Tue, 23 Apr 2019 14:52:44 +0300 Subject: [PATCH] Regenerate the parser bindings Signed-off-by: Dimitar Dobrev --- src/CppParser/Bindings/CLI/Decl.cpp | 24 +++++++++---------- .../CSharp/i686-apple-darwin12.4.0/Std.cs | 8 +++---- .../CSharp/x86_64-apple-darwin12.4.0/Std.cs | 8 +++---- .../CSharp/x86_64-linux-gnu-cxx11abi/Std.cs | 4 ++-- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/CppParser/Bindings/CLI/Decl.cpp b/src/CppParser/Bindings/CLI/Decl.cpp index 36026b56..f2ca83f0 100644 --- a/src/CppParser/Bindings/CLI/Decl.cpp +++ b/src/CppParser/Bindings/CLI/Decl.cpp @@ -569,13 +569,13 @@ CppSharp::Parser::AST::DeclarationContext::operator CppSharp::Parser::AST::Decla System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Namespaces::get() { - auto _tmp__Namespaces_ = gcnew System::Collections::Generic::List(); + auto _tmp__Namespaces = gcnew System::Collections::Generic::List(); for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Namespaces) { auto _marshalElement = (_element == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)_element); - _tmp__Namespaces_->Add(_marshalElement); + _tmp__Namespaces->Add(_marshalElement); } - return _tmp__Namespaces_; + return _tmp__Namespaces; } void CppSharp::Parser::AST::DeclarationContext::Namespaces::set(System::Collections::Generic::List^ value) @@ -591,13 +591,13 @@ void CppSharp::Parser::AST::DeclarationContext::Namespaces::set(System::Collecti System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Enums::get() { - auto _tmp__Enums_ = gcnew System::Collections::Generic::List(); + auto _tmp__Enums = gcnew System::Collections::Generic::List(); for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Enums) { auto _marshalElement = (_element == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Enumeration((::CppSharp::CppParser::AST::Enumeration*)_element); - _tmp__Enums_->Add(_marshalElement); + _tmp__Enums->Add(_marshalElement); } - return _tmp__Enums_; + return _tmp__Enums; } void CppSharp::Parser::AST::DeclarationContext::Enums::set(System::Collections::Generic::List^ value) @@ -613,13 +613,13 @@ void CppSharp::Parser::AST::DeclarationContext::Enums::set(System::Collections:: System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Functions::get() { - auto _tmp__Functions_ = gcnew System::Collections::Generic::List(); + auto _tmp__Functions = gcnew System::Collections::Generic::List(); for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Functions) { auto _marshalElement = (_element == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)_element); - _tmp__Functions_->Add(_marshalElement); + _tmp__Functions->Add(_marshalElement); } - return _tmp__Functions_; + return _tmp__Functions; } void CppSharp::Parser::AST::DeclarationContext::Functions::set(System::Collections::Generic::List^ value) @@ -635,13 +635,13 @@ void CppSharp::Parser::AST::DeclarationContext::Functions::set(System::Collectio System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Classes::get() { - auto _tmp__Classes_ = gcnew System::Collections::Generic::List(); + auto _tmp__Classes = gcnew System::Collections::Generic::List(); for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Classes) { auto _marshalElement = (_element == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)_element); - _tmp__Classes_->Add(_marshalElement); + _tmp__Classes->Add(_marshalElement); } - return _tmp__Classes_; + return _tmp__Classes; } void CppSharp::Parser::AST::DeclarationContext::Classes::set(System::Collections::Generic::List^ value) diff --git a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs index d7694fac..59f18b79 100644 --- a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs +++ b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs @@ -699,10 +699,10 @@ namespace Std public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C { [FieldOffset(0)] - internal global::Std.BasicString.Rep._.__Internal _; + internal global::Std.BasicString.Rep._4.__Internal _0; } - namespace _ + namespace _4 { [StructLayout(LayoutKind.Explicit, Size = 12)] public unsafe partial struct __Internal @@ -744,13 +744,13 @@ namespace Std public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C { [FieldOffset(0)] - internal global::Std.BasicString.Short._.__Internal _; + internal global::Std.BasicString.Short._4.__Internal _0; [FieldOffset(1)] internal fixed sbyte __data_[11]; } - namespace _ + namespace _4 { [StructLayout(LayoutKind.Explicit, Size = 1)] public unsafe partial struct __Internal diff --git a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs index 05bfb8e8..54ee41f1 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs @@ -699,10 +699,10 @@ namespace Std public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C { [FieldOffset(0)] - internal global::Std.BasicString.Rep._.__Internal _; + internal global::Std.BasicString.Rep._4.__Internal _0; } - namespace _ + namespace _4 { [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct __Internal @@ -744,13 +744,13 @@ namespace Std public unsafe partial struct __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C { [FieldOffset(0)] - internal global::Std.BasicString.Short._.__Internal _; + internal global::Std.BasicString.Short._4.__Internal _0; [FieldOffset(1)] internal fixed sbyte __data_[23]; } - namespace _ + namespace _4 { [StructLayout(LayoutKind.Explicit, Size = 1)] public unsafe partial struct __Internal diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs index 6419e48b..2a7431f6 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs @@ -835,7 +835,7 @@ namespace Std internal ulong _M_string_length; [FieldOffset(16)] - internal global::Std.BasicString._.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C _; + internal global::Std.BasicString._3.__Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C _0; [SuppressUnmanagedCodeSecurity] [DllImport("Std-symbols", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -864,7 +864,7 @@ namespace Std } - namespace _ + namespace _3 { [StructLayout(LayoutKind.Explicit, Size = 16)] public unsafe partial struct __Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C