Browse Source

Regenerate the parser bindings

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/1210/head
Dimitar Dobrev 7 years ago
parent
commit
46332cc8c0
  1. 24
      src/CppParser/Bindings/CLI/Decl.cpp
  2. 8
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs
  3. 8
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs
  4. 4
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs

24
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::Namespace^>^ CppSharp::Parser::AST::DeclarationContext::Namespaces::get() System::Collections::Generic::List<CppSharp::Parser::AST::Namespace^>^ CppSharp::Parser::AST::DeclarationContext::Namespaces::get()
{ {
auto _tmp__Namespaces_ = gcnew System::Collections::Generic::List<CppSharp::Parser::AST::Namespace^>(); auto _tmp__Namespaces = gcnew System::Collections::Generic::List<CppSharp::Parser::AST::Namespace^>();
for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Namespaces) for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Namespaces)
{ {
auto _marshalElement = (_element == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)_element); 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<CppSharp::Parser::AST::Namespace^>^ value) void CppSharp::Parser::AST::DeclarationContext::Namespaces::set(System::Collections::Generic::List<CppSharp::Parser::AST::Namespace^>^ value)
@ -591,13 +591,13 @@ void CppSharp::Parser::AST::DeclarationContext::Namespaces::set(System::Collecti
System::Collections::Generic::List<CppSharp::Parser::AST::Enumeration^>^ CppSharp::Parser::AST::DeclarationContext::Enums::get() System::Collections::Generic::List<CppSharp::Parser::AST::Enumeration^>^ CppSharp::Parser::AST::DeclarationContext::Enums::get()
{ {
auto _tmp__Enums_ = gcnew System::Collections::Generic::List<CppSharp::Parser::AST::Enumeration^>(); auto _tmp__Enums = gcnew System::Collections::Generic::List<CppSharp::Parser::AST::Enumeration^>();
for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Enums) for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Enums)
{ {
auto _marshalElement = (_element == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Enumeration((::CppSharp::CppParser::AST::Enumeration*)_element); 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<CppSharp::Parser::AST::Enumeration^>^ value) void CppSharp::Parser::AST::DeclarationContext::Enums::set(System::Collections::Generic::List<CppSharp::Parser::AST::Enumeration^>^ value)
@ -613,13 +613,13 @@ void CppSharp::Parser::AST::DeclarationContext::Enums::set(System::Collections::
System::Collections::Generic::List<CppSharp::Parser::AST::Function^>^ CppSharp::Parser::AST::DeclarationContext::Functions::get() System::Collections::Generic::List<CppSharp::Parser::AST::Function^>^ CppSharp::Parser::AST::DeclarationContext::Functions::get()
{ {
auto _tmp__Functions_ = gcnew System::Collections::Generic::List<CppSharp::Parser::AST::Function^>(); auto _tmp__Functions = gcnew System::Collections::Generic::List<CppSharp::Parser::AST::Function^>();
for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Functions) for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Functions)
{ {
auto _marshalElement = (_element == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)_element); 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<CppSharp::Parser::AST::Function^>^ value) void CppSharp::Parser::AST::DeclarationContext::Functions::set(System::Collections::Generic::List<CppSharp::Parser::AST::Function^>^ value)
@ -635,13 +635,13 @@ void CppSharp::Parser::AST::DeclarationContext::Functions::set(System::Collectio
System::Collections::Generic::List<CppSharp::Parser::AST::Class^>^ CppSharp::Parser::AST::DeclarationContext::Classes::get() System::Collections::Generic::List<CppSharp::Parser::AST::Class^>^ CppSharp::Parser::AST::DeclarationContext::Classes::get()
{ {
auto _tmp__Classes_ = gcnew System::Collections::Generic::List<CppSharp::Parser::AST::Class^>(); auto _tmp__Classes = gcnew System::Collections::Generic::List<CppSharp::Parser::AST::Class^>();
for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Classes) for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Classes)
{ {
auto _marshalElement = (_element == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)_element); 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<CppSharp::Parser::AST::Class^>^ value) void CppSharp::Parser::AST::DeclarationContext::Classes::set(System::Collections::Generic::List<CppSharp::Parser::AST::Class^>^ value)

8
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 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)] [FieldOffset(0)]
internal global::Std.BasicString.Rep._.__Internal _; internal global::Std.BasicString.Rep._4.__Internal _0;
} }
namespace _ namespace _4
{ {
[StructLayout(LayoutKind.Explicit, Size = 12)] [StructLayout(LayoutKind.Explicit, Size = 12)]
public unsafe partial struct __Internal 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 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)] [FieldOffset(0)]
internal global::Std.BasicString.Short._.__Internal _; internal global::Std.BasicString.Short._4.__Internal _0;
[FieldOffset(1)] [FieldOffset(1)]
internal fixed sbyte __data_[11]; internal fixed sbyte __data_[11];
} }
namespace _ namespace _4
{ {
[StructLayout(LayoutKind.Explicit, Size = 1)] [StructLayout(LayoutKind.Explicit, Size = 1)]
public unsafe partial struct __Internal public unsafe partial struct __Internal

8
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 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)] [FieldOffset(0)]
internal global::Std.BasicString.Rep._.__Internal _; internal global::Std.BasicString.Rep._4.__Internal _0;
} }
namespace _ namespace _4
{ {
[StructLayout(LayoutKind.Explicit, Size = 24)] [StructLayout(LayoutKind.Explicit, Size = 24)]
public unsafe partial struct __Internal 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 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)] [FieldOffset(0)]
internal global::Std.BasicString.Short._.__Internal _; internal global::Std.BasicString.Short._4.__Internal _0;
[FieldOffset(1)] [FieldOffset(1)]
internal fixed sbyte __data_[23]; internal fixed sbyte __data_[23];
} }
namespace _ namespace _4
{ {
[StructLayout(LayoutKind.Explicit, Size = 1)] [StructLayout(LayoutKind.Explicit, Size = 1)]
public unsafe partial struct __Internal public unsafe partial struct __Internal

4
src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs

@ -835,7 +835,7 @@ namespace Std
internal ulong _M_string_length; internal ulong _M_string_length;
[FieldOffset(16)] [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] [SuppressUnmanagedCodeSecurity]
[DllImport("Std-symbols", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, [DllImport("Std-symbols", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl,
@ -864,7 +864,7 @@ namespace Std
} }
namespace _ namespace _3
{ {
[StructLayout(LayoutKind.Explicit, Size = 16)] [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 public unsafe partial struct __Internalc__N_std_N___cxx11_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C

Loading…
Cancel
Save