Browse Source

Renamed ParserOptions to CppParserOptions and ParserOptions2 to ParserOptions.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/696/head
Dimitar Dobrev 9 years ago
parent
commit
749c2b17ec
  1. 236
      src/CppParser/Bindings/CLI/CppParser.cpp
  2. 22
      src/CppParser/Bindings/CLI/CppParser.h
  3. 676
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs
  4. 101
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std-templates.cpp
  5. 9
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std.cs
  6. 676
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs
  7. 95
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std-templates.cpp
  8. 7
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std.cs
  9. 676
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs
  10. 101
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std-templates.cpp
  11. 9
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std.cs
  12. 676
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs
  13. 62
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std-templates.cpp
  14. 12
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std.cs
  15. 676
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs
  16. 62
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std-templates.cpp
  17. 12
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs
  18. 676
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs
  19. 95
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std-templates.cpp
  20. 7
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std.cs
  21. 20
      src/CppParser/CppParser.cpp
  22. 10
      src/CppParser/CppParser.h
  23. 8
      src/CppParser/Parser.cpp
  24. 4
      src/CppParser/Parser.h
  25. 2
      src/Generator.Tests/AST/TestAST.cs
  26. 4
      src/Generator.Tests/ASTTestFixture.cs
  27. 2
      src/Generator.Tests/ReadNativeDependenciesTest.cs
  28. 4
      src/Generator/BindingContext.cs
  29. 4
      src/Generator/Driver.cs
  30. 6
      src/Parser/ParserOptions.cs

236
src/CppParser/Bindings/CLI/CppParser.cpp

@ -5,338 +5,338 @@ @@ -5,338 +5,338 @@
using namespace System;
using namespace System::Runtime::InteropServices;
CppSharp::Parser::ParserOptions::ParserOptions(::CppSharp::CppParser::ParserOptions* native)
CppSharp::Parser::CppParserOptions::CppParserOptions(::CppSharp::CppParser::CppParserOptions* native)
: __ownsNativeInstance(false)
{
NativePtr = native;
}
CppSharp::Parser::ParserOptions^ CppSharp::Parser::ParserOptions::__CreateInstance(::System::IntPtr native)
CppSharp::Parser::CppParserOptions^ CppSharp::Parser::CppParserOptions::__CreateInstance(::System::IntPtr native)
{
return gcnew ::CppSharp::Parser::ParserOptions((::CppSharp::CppParser::ParserOptions*) native.ToPointer());
return gcnew ::CppSharp::Parser::CppParserOptions((::CppSharp::CppParser::CppParserOptions*) native.ToPointer());
}
CppSharp::Parser::ParserOptions::~ParserOptions()
CppSharp::Parser::CppParserOptions::~CppParserOptions()
{
delete NativePtr;
}
CppSharp::Parser::ParserOptions::ParserOptions()
CppSharp::Parser::CppParserOptions::CppParserOptions()
{
__ownsNativeInstance = true;
NativePtr = new ::CppSharp::CppParser::ParserOptions();
NativePtr = new ::CppSharp::CppParser::CppParserOptions();
}
System::String^ CppSharp::Parser::ParserOptions::getArguments(unsigned int i)
System::String^ CppSharp::Parser::CppParserOptions::getArguments(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getArguments(i);
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getArguments(i);
if (__ret == nullptr) return nullptr;
return (__ret == 0 ? nullptr : clix::marshalString<clix::E_UTF8>(__ret));
}
void CppSharp::Parser::ParserOptions::addArguments(System::String^ s)
void CppSharp::Parser::CppParserOptions::addArguments(System::String^ s)
{
auto ___arg0 = clix::marshalString<clix::E_UTF8>(s);
auto __arg0 = ___arg0.c_str();
((::CppSharp::CppParser::ParserOptions*)NativePtr)->addArguments(__arg0);
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addArguments(__arg0);
}
void CppSharp::Parser::ParserOptions::clearArguments()
void CppSharp::Parser::CppParserOptions::clearArguments()
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->clearArguments();
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearArguments();
}
System::String^ CppSharp::Parser::ParserOptions::getSourceFiles(unsigned int i)
System::String^ CppSharp::Parser::CppParserOptions::getSourceFiles(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getSourceFiles(i);
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSourceFiles(i);
if (__ret == nullptr) return nullptr;
return (__ret == 0 ? nullptr : clix::marshalString<clix::E_UTF8>(__ret));
}
void CppSharp::Parser::ParserOptions::addSourceFiles(System::String^ s)
void CppSharp::Parser::CppParserOptions::addSourceFiles(System::String^ s)
{
auto ___arg0 = clix::marshalString<clix::E_UTF8>(s);
auto __arg0 = ___arg0.c_str();
((::CppSharp::CppParser::ParserOptions*)NativePtr)->addSourceFiles(__arg0);
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addSourceFiles(__arg0);
}
void CppSharp::Parser::ParserOptions::clearSourceFiles()
void CppSharp::Parser::CppParserOptions::clearSourceFiles()
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->clearSourceFiles();
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearSourceFiles();
}
System::String^ CppSharp::Parser::ParserOptions::getIncludeDirs(unsigned int i)
System::String^ CppSharp::Parser::CppParserOptions::getIncludeDirs(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getIncludeDirs(i);
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getIncludeDirs(i);
if (__ret == nullptr) return nullptr;
return (__ret == 0 ? nullptr : clix::marshalString<clix::E_UTF8>(__ret));
}
void CppSharp::Parser::ParserOptions::addIncludeDirs(System::String^ s)
void CppSharp::Parser::CppParserOptions::addIncludeDirs(System::String^ s)
{
auto ___arg0 = clix::marshalString<clix::E_UTF8>(s);
auto __arg0 = ___arg0.c_str();
((::CppSharp::CppParser::ParserOptions*)NativePtr)->addIncludeDirs(__arg0);
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addIncludeDirs(__arg0);
}
void CppSharp::Parser::ParserOptions::clearIncludeDirs()
void CppSharp::Parser::CppParserOptions::clearIncludeDirs()
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->clearIncludeDirs();
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearIncludeDirs();
}
System::String^ CppSharp::Parser::ParserOptions::getSystemIncludeDirs(unsigned int i)
System::String^ CppSharp::Parser::CppParserOptions::getSystemIncludeDirs(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getSystemIncludeDirs(i);
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSystemIncludeDirs(i);
if (__ret == nullptr) return nullptr;
return (__ret == 0 ? nullptr : clix::marshalString<clix::E_UTF8>(__ret));
}
void CppSharp::Parser::ParserOptions::addSystemIncludeDirs(System::String^ s)
void CppSharp::Parser::CppParserOptions::addSystemIncludeDirs(System::String^ s)
{
auto ___arg0 = clix::marshalString<clix::E_UTF8>(s);
auto __arg0 = ___arg0.c_str();
((::CppSharp::CppParser::ParserOptions*)NativePtr)->addSystemIncludeDirs(__arg0);
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addSystemIncludeDirs(__arg0);
}
void CppSharp::Parser::ParserOptions::clearSystemIncludeDirs()
void CppSharp::Parser::CppParserOptions::clearSystemIncludeDirs()
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->clearSystemIncludeDirs();
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearSystemIncludeDirs();
}
System::String^ CppSharp::Parser::ParserOptions::getDefines(unsigned int i)
System::String^ CppSharp::Parser::CppParserOptions::getDefines(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getDefines(i);
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getDefines(i);
if (__ret == nullptr) return nullptr;
return (__ret == 0 ? nullptr : clix::marshalString<clix::E_UTF8>(__ret));
}
void CppSharp::Parser::ParserOptions::addDefines(System::String^ s)
void CppSharp::Parser::CppParserOptions::addDefines(System::String^ s)
{
auto ___arg0 = clix::marshalString<clix::E_UTF8>(s);
auto __arg0 = ___arg0.c_str();
((::CppSharp::CppParser::ParserOptions*)NativePtr)->addDefines(__arg0);
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addDefines(__arg0);
}
void CppSharp::Parser::ParserOptions::clearDefines()
void CppSharp::Parser::CppParserOptions::clearDefines()
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->clearDefines();
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearDefines();
}
System::String^ CppSharp::Parser::ParserOptions::getUndefines(unsigned int i)
System::String^ CppSharp::Parser::CppParserOptions::getUndefines(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getUndefines(i);
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getUndefines(i);
if (__ret == nullptr) return nullptr;
return (__ret == 0 ? nullptr : clix::marshalString<clix::E_UTF8>(__ret));
}
void CppSharp::Parser::ParserOptions::addUndefines(System::String^ s)
void CppSharp::Parser::CppParserOptions::addUndefines(System::String^ s)
{
auto ___arg0 = clix::marshalString<clix::E_UTF8>(s);
auto __arg0 = ___arg0.c_str();
((::CppSharp::CppParser::ParserOptions*)NativePtr)->addUndefines(__arg0);
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addUndefines(__arg0);
}
void CppSharp::Parser::ParserOptions::clearUndefines()
void CppSharp::Parser::CppParserOptions::clearUndefines()
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->clearUndefines();
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearUndefines();
}
System::String^ CppSharp::Parser::ParserOptions::getLibraryDirs(unsigned int i)
System::String^ CppSharp::Parser::CppParserOptions::getLibraryDirs(unsigned int i)
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getLibraryDirs(i);
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getLibraryDirs(i);
if (__ret == nullptr) return nullptr;
return (__ret == 0 ? nullptr : clix::marshalString<clix::E_UTF8>(__ret));
}
void CppSharp::Parser::ParserOptions::addLibraryDirs(System::String^ s)
void CppSharp::Parser::CppParserOptions::addLibraryDirs(System::String^ s)
{
auto ___arg0 = clix::marshalString<clix::E_UTF8>(s);
auto __arg0 = ___arg0.c_str();
((::CppSharp::CppParser::ParserOptions*)NativePtr)->addLibraryDirs(__arg0);
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addLibraryDirs(__arg0);
}
void CppSharp::Parser::ParserOptions::clearLibraryDirs()
void CppSharp::Parser::CppParserOptions::clearLibraryDirs()
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->clearLibraryDirs();
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearLibraryDirs();
}
CppSharp::Parser::ParserOptions::ParserOptions(CppSharp::Parser::ParserOptions^ _0)
CppSharp::Parser::CppParserOptions::CppParserOptions(CppSharp::Parser::CppParserOptions^ _0)
{
__ownsNativeInstance = true;
if (ReferenceEquals(_0, nullptr))
throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&).");
auto &__arg0 = *(::CppSharp::CppParser::ParserOptions*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::ParserOptions(__arg0);
auto &__arg0 = *(::CppSharp::CppParser::CppParserOptions*)_0->NativePtr;
NativePtr = new ::CppSharp::CppParser::CppParserOptions(__arg0);
}
System::IntPtr CppSharp::Parser::ParserOptions::__Instance::get()
System::IntPtr CppSharp::Parser::CppParserOptions::__Instance::get()
{
return System::IntPtr(NativePtr);
}
void CppSharp::Parser::ParserOptions::__Instance::set(System::IntPtr object)
void CppSharp::Parser::CppParserOptions::__Instance::set(System::IntPtr object)
{
NativePtr = (::CppSharp::CppParser::ParserOptions*)object.ToPointer();
NativePtr = (::CppSharp::CppParser::CppParserOptions*)object.ToPointer();
}
unsigned int CppSharp::Parser::ParserOptions::ArgumentsCount::get()
unsigned int CppSharp::Parser::CppParserOptions::ArgumentsCount::get()
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getArgumentsCount();
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getArgumentsCount();
return __ret;
}
System::String^ CppSharp::Parser::ParserOptions::LibraryFile::get()
System::String^ CppSharp::Parser::CppParserOptions::LibraryFile::get()
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getLibraryFile();
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getLibraryFile();
if (__ret == nullptr) return nullptr;
return (__ret == 0 ? nullptr : clix::marshalString<clix::E_UTF8>(__ret));
}
void CppSharp::Parser::ParserOptions::LibraryFile::set(System::String^ s)
void CppSharp::Parser::CppParserOptions::LibraryFile::set(System::String^ s)
{
auto ___arg0 = clix::marshalString<clix::E_UTF8>(s);
auto __arg0 = ___arg0.c_str();
((::CppSharp::CppParser::ParserOptions*)NativePtr)->setLibraryFile(__arg0);
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->setLibraryFile(__arg0);
}
unsigned int CppSharp::Parser::ParserOptions::SourceFilesCount::get()
unsigned int CppSharp::Parser::CppParserOptions::SourceFilesCount::get()
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getSourceFilesCount();
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSourceFilesCount();
return __ret;
}
unsigned int CppSharp::Parser::ParserOptions::IncludeDirsCount::get()
unsigned int CppSharp::Parser::CppParserOptions::IncludeDirsCount::get()
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getIncludeDirsCount();
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getIncludeDirsCount();
return __ret;
}
unsigned int CppSharp::Parser::ParserOptions::SystemIncludeDirsCount::get()
unsigned int CppSharp::Parser::CppParserOptions::SystemIncludeDirsCount::get()
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getSystemIncludeDirsCount();
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSystemIncludeDirsCount();
return __ret;
}
unsigned int CppSharp::Parser::ParserOptions::DefinesCount::get()
unsigned int CppSharp::Parser::CppParserOptions::DefinesCount::get()
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getDefinesCount();
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getDefinesCount();
return __ret;
}
unsigned int CppSharp::Parser::ParserOptions::UndefinesCount::get()
unsigned int CppSharp::Parser::CppParserOptions::UndefinesCount::get()
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getUndefinesCount();
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getUndefinesCount();
return __ret;
}
unsigned int CppSharp::Parser::ParserOptions::LibraryDirsCount::get()
unsigned int CppSharp::Parser::CppParserOptions::LibraryDirsCount::get()
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getLibraryDirsCount();
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getLibraryDirsCount();
return __ret;
}
System::String^ CppSharp::Parser::ParserOptions::TargetTriple::get()
System::String^ CppSharp::Parser::CppParserOptions::TargetTriple::get()
{
auto __ret = ((::CppSharp::CppParser::ParserOptions*)NativePtr)->getTargetTriple();
auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getTargetTriple();
if (__ret == nullptr) return nullptr;
return (__ret == 0 ? nullptr : clix::marshalString<clix::E_UTF8>(__ret));
}
void CppSharp::Parser::ParserOptions::TargetTriple::set(System::String^ s)
void CppSharp::Parser::CppParserOptions::TargetTriple::set(System::String^ s)
{
auto ___arg0 = clix::marshalString<clix::E_UTF8>(s);
auto __arg0 = ___arg0.c_str();
((::CppSharp::CppParser::ParserOptions*)NativePtr)->setTargetTriple(__arg0);
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->setTargetTriple(__arg0);
}
CppSharp::Parser::AST::ASTContext^ CppSharp::Parser::ParserOptions::ASTContext::get()
CppSharp::Parser::AST::ASTContext^ CppSharp::Parser::CppParserOptions::ASTContext::get()
{
return (((::CppSharp::CppParser::ParserOptions*)NativePtr)->ASTContext == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::ASTContext((::CppSharp::CppParser::AST::ASTContext*)((::CppSharp::CppParser::ParserOptions*)NativePtr)->ASTContext);
return (((::CppSharp::CppParser::CppParserOptions*)NativePtr)->ASTContext == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::ASTContext((::CppSharp::CppParser::AST::ASTContext*)((::CppSharp::CppParser::CppParserOptions*)NativePtr)->ASTContext);
}
void CppSharp::Parser::ParserOptions::ASTContext::set(CppSharp::Parser::AST::ASTContext^ value)
void CppSharp::Parser::CppParserOptions::ASTContext::set(CppSharp::Parser::AST::ASTContext^ value)
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->ASTContext = (::CppSharp::CppParser::AST::ASTContext*)value->NativePtr;
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->ASTContext = (::CppSharp::CppParser::AST::ASTContext*)value->NativePtr;
}
int CppSharp::Parser::ParserOptions::ToolSetToUse::get()
int CppSharp::Parser::CppParserOptions::ToolSetToUse::get()
{
return ((::CppSharp::CppParser::ParserOptions*)NativePtr)->ToolSetToUse;
return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->ToolSetToUse;
}
void CppSharp::Parser::ParserOptions::ToolSetToUse::set(int value)
void CppSharp::Parser::CppParserOptions::ToolSetToUse::set(int value)
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->ToolSetToUse = value;
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->ToolSetToUse = value;
}
CppSharp::Parser::AST::CppAbi CppSharp::Parser::ParserOptions::Abi::get()
CppSharp::Parser::AST::CppAbi CppSharp::Parser::CppParserOptions::Abi::get()
{
return (CppSharp::Parser::AST::CppAbi)((::CppSharp::CppParser::ParserOptions*)NativePtr)->Abi;
return (CppSharp::Parser::AST::CppAbi)((::CppSharp::CppParser::CppParserOptions*)NativePtr)->Abi;
}
void CppSharp::Parser::ParserOptions::Abi::set(CppSharp::Parser::AST::CppAbi value)
void CppSharp::Parser::CppParserOptions::Abi::set(CppSharp::Parser::AST::CppAbi value)
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->Abi = (::CppSharp::CppParser::AST::CppAbi)value;
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->Abi = (::CppSharp::CppParser::AST::CppAbi)value;
}
bool CppSharp::Parser::ParserOptions::NoStandardIncludes::get()
bool CppSharp::Parser::CppParserOptions::NoStandardIncludes::get()
{
return ((::CppSharp::CppParser::ParserOptions*)NativePtr)->NoStandardIncludes;
return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->NoStandardIncludes;
}
void CppSharp::Parser::ParserOptions::NoStandardIncludes::set(bool value)
void CppSharp::Parser::CppParserOptions::NoStandardIncludes::set(bool value)
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->NoStandardIncludes = value;
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->NoStandardIncludes = value;
}
bool CppSharp::Parser::ParserOptions::NoBuiltinIncludes::get()
bool CppSharp::Parser::CppParserOptions::NoBuiltinIncludes::get()
{
return ((::CppSharp::CppParser::ParserOptions*)NativePtr)->NoBuiltinIncludes;
return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->NoBuiltinIncludes;
}
void CppSharp::Parser::ParserOptions::NoBuiltinIncludes::set(bool value)
void CppSharp::Parser::CppParserOptions::NoBuiltinIncludes::set(bool value)
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->NoBuiltinIncludes = value;
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->NoBuiltinIncludes = value;
}
bool CppSharp::Parser::ParserOptions::MicrosoftMode::get()
bool CppSharp::Parser::CppParserOptions::MicrosoftMode::get()
{
return ((::CppSharp::CppParser::ParserOptions*)NativePtr)->MicrosoftMode;
return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->MicrosoftMode;
}
void CppSharp::Parser::ParserOptions::MicrosoftMode::set(bool value)
void CppSharp::Parser::CppParserOptions::MicrosoftMode::set(bool value)
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->MicrosoftMode = value;
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->MicrosoftMode = value;
}
bool CppSharp::Parser::ParserOptions::Verbose::get()
bool CppSharp::Parser::CppParserOptions::Verbose::get()
{
return ((::CppSharp::CppParser::ParserOptions*)NativePtr)->Verbose;
return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->Verbose;
}
void CppSharp::Parser::ParserOptions::Verbose::set(bool value)
void CppSharp::Parser::CppParserOptions::Verbose::set(bool value)
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->Verbose = value;
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->Verbose = value;
}
CppSharp::Parser::LanguageVersion CppSharp::Parser::ParserOptions::LanguageVersion::get()
CppSharp::Parser::LanguageVersion CppSharp::Parser::CppParserOptions::LanguageVersion::get()
{
return (CppSharp::Parser::LanguageVersion)((::CppSharp::CppParser::ParserOptions*)NativePtr)->LanguageVersion;
return (CppSharp::Parser::LanguageVersion)((::CppSharp::CppParser::CppParserOptions*)NativePtr)->LanguageVersion;
}
void CppSharp::Parser::ParserOptions::LanguageVersion::set(CppSharp::Parser::LanguageVersion value)
void CppSharp::Parser::CppParserOptions::LanguageVersion::set(CppSharp::Parser::LanguageVersion value)
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->LanguageVersion = (::CppSharp::CppParser::LanguageVersion)value;
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->LanguageVersion = (::CppSharp::CppParser::LanguageVersion)value;
}
CppSharp::Parser::ParserTargetInfo^ CppSharp::Parser::ParserOptions::TargetInfo::get()
CppSharp::Parser::ParserTargetInfo^ CppSharp::Parser::CppParserOptions::TargetInfo::get()
{
return (((::CppSharp::CppParser::ParserOptions*)NativePtr)->TargetInfo == nullptr) ? nullptr : gcnew CppSharp::Parser::ParserTargetInfo((::CppSharp::CppParser::ParserTargetInfo*)((::CppSharp::CppParser::ParserOptions*)NativePtr)->TargetInfo);
return (((::CppSharp::CppParser::CppParserOptions*)NativePtr)->TargetInfo == nullptr) ? nullptr : gcnew CppSharp::Parser::ParserTargetInfo((::CppSharp::CppParser::ParserTargetInfo*)((::CppSharp::CppParser::CppParserOptions*)NativePtr)->TargetInfo);
}
void CppSharp::Parser::ParserOptions::TargetInfo::set(CppSharp::Parser::ParserTargetInfo^ value)
void CppSharp::Parser::CppParserOptions::TargetInfo::set(CppSharp::Parser::ParserTargetInfo^ value)
{
((::CppSharp::CppParser::ParserOptions*)NativePtr)->TargetInfo = (::CppSharp::CppParser::ParserTargetInfo*)value->NativePtr;
((::CppSharp::CppParser::CppParserOptions*)NativePtr)->TargetInfo = (::CppSharp::CppParser::ParserTargetInfo*)value->NativePtr;
}
CppSharp::Parser::ParserDiagnostic::ParserDiagnostic(::CppSharp::CppParser::ParserDiagnostic* native)
@ -551,25 +551,25 @@ CppSharp::Parser::ClangParser::~ClangParser() @@ -551,25 +551,25 @@ CppSharp::Parser::ClangParser::~ClangParser()
delete NativePtr;
}
CppSharp::Parser::ParserResult^ CppSharp::Parser::ClangParser::ParseHeader(CppSharp::Parser::ParserOptions^ Opts)
CppSharp::Parser::ParserResult^ CppSharp::Parser::ClangParser::ParseHeader(CppSharp::Parser::CppParserOptions^ Opts)
{
auto __arg0 = (::CppSharp::CppParser::ParserOptions*)Opts->NativePtr;
auto __arg0 = (::CppSharp::CppParser::CppParserOptions*)Opts->NativePtr;
auto __ret = ::CppSharp::CppParser::ClangParser::ParseHeader(__arg0);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::ParserResult((::CppSharp::CppParser::ParserResult*)__ret);
}
CppSharp::Parser::ParserResult^ CppSharp::Parser::ClangParser::ParseLibrary(CppSharp::Parser::ParserOptions^ Opts)
CppSharp::Parser::ParserResult^ CppSharp::Parser::ClangParser::ParseLibrary(CppSharp::Parser::CppParserOptions^ Opts)
{
auto __arg0 = (::CppSharp::CppParser::ParserOptions*)Opts->NativePtr;
auto __arg0 = (::CppSharp::CppParser::CppParserOptions*)Opts->NativePtr;
auto __ret = ::CppSharp::CppParser::ClangParser::ParseLibrary(__arg0);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::ParserResult((::CppSharp::CppParser::ParserResult*)__ret);
}
CppSharp::Parser::ParserTargetInfo^ CppSharp::Parser::ClangParser::GetTargetInfo(CppSharp::Parser::ParserOptions^ Opts)
CppSharp::Parser::ParserTargetInfo^ CppSharp::Parser::ClangParser::GetTargetInfo(CppSharp::Parser::CppParserOptions^ Opts)
{
auto __arg0 = (::CppSharp::CppParser::ParserOptions*)Opts->NativePtr;
auto __arg0 = (::CppSharp::CppParser::CppParserOptions*)Opts->NativePtr;
auto __ret = ::CppSharp::CppParser::ClangParser::GetTargetInfo(__arg0);
if (__ret == nullptr) return nullptr;
return (__ret == nullptr) ? nullptr : gcnew CppSharp::Parser::ParserTargetInfo((::CppSharp::CppParser::ParserTargetInfo*)__ret);

22
src/CppParser/Bindings/CLI/CppParser.h

@ -12,9 +12,9 @@ namespace CppSharp @@ -12,9 +12,9 @@ namespace CppSharp
enum struct ParserResultKind;
enum struct SourceLocationKind;
ref class ClangParser;
ref class CppParserOptions;
ref class Parser;
ref class ParserDiagnostic;
ref class ParserOptions;
ref class ParserResult;
ref class ParserTargetInfo;
namespace AST
@ -65,24 +65,24 @@ namespace CppSharp @@ -65,24 +65,24 @@ namespace CppSharp
User = 4
};
public ref class ParserOptions : ICppInstance
public ref class CppParserOptions : ICppInstance
{
public:
property ::CppSharp::CppParser::ParserOptions* NativePtr;
property ::CppSharp::CppParser::CppParserOptions* NativePtr;
property System::IntPtr __Instance
{
virtual System::IntPtr get();
virtual void set(System::IntPtr instance);
}
ParserOptions(::CppSharp::CppParser::ParserOptions* native);
static ParserOptions^ __CreateInstance(::System::IntPtr native);
ParserOptions();
CppParserOptions(::CppSharp::CppParser::CppParserOptions* native);
static CppParserOptions^ __CreateInstance(::System::IntPtr native);
CppParserOptions();
ParserOptions(CppSharp::Parser::ParserOptions^ _0);
CppParserOptions(CppSharp::Parser::CppParserOptions^ _0);
~ParserOptions();
~CppParserOptions();
property unsigned int ArgumentsCount
{
@ -355,11 +355,11 @@ namespace CppSharp @@ -355,11 +355,11 @@ namespace CppSharp
~ClangParser();
static CppSharp::Parser::ParserResult^ ParseHeader(CppSharp::Parser::ParserOptions^ Opts);
static CppSharp::Parser::ParserResult^ ParseHeader(CppSharp::Parser::CppParserOptions^ Opts);
static CppSharp::Parser::ParserResult^ ParseLibrary(CppSharp::Parser::ParserOptions^ Opts);
static CppSharp::Parser::ParserResult^ ParseLibrary(CppSharp::Parser::CppParserOptions^ Opts);
static CppSharp::Parser::ParserTargetInfo^ GetTargetInfo(CppSharp::Parser::ParserOptions^ Opts);
static CppSharp::Parser::ParserTargetInfo^ GetTargetInfo(CppSharp::Parser::CppParserOptions^ Opts);
protected:
bool __ownsNativeInstance;

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

File diff suppressed because it is too large Load Diff

101
src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Std-templates.cpp

@ -1,100 +1,7 @@ @@ -1,100 +1,7 @@
#include <string>
#include <vector>
#include <map>
#include <unordered_map>
template class __declspec(dllexport) std::allocator<char>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;
template class __declspec(dllexport) std::initializer_list<char>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::PreprocessedEntity*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Parameter*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Declaration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::FunctionTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TemplateArgument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Function*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Template*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypedefDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypeAlias*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Variable*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Friend*>;
template class __declspec(dllexport) std::initializer_list<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BaseClassSpecifier*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Field*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Method*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::AccessSpecifierDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VTableComponent>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VFTableInfo>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutField>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutBase>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Class*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration::Item*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Namespace*>;
template class __declspec(dllexport) std::initializer_list<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::ClassTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Expression*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VarTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::MacroDefinition*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TranslationUnit*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<unsigned int>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VerbatimBlockLineComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::ParserDiagnostic>;
template class __declspec(dllexport) std::__type_list<std::__align_type<unsigned short>, std::__type_list<std::__align_type<unsigned int>, std::__type_list<std::__align_type<unsigned long>, std::__type_list<std::__align_type<unsigned long long>, std::__type_list<std::__align_type<double>, std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>>>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<unsigned int>, std::__type_list<std::__align_type<unsigned long>, std::__type_list<std::__align_type<unsigned long long>, std::__type_list<std::__align_type<double>, std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<unsigned long>, std::__type_list<std::__align_type<unsigned long long>, std::__type_list<std::__align_type<double>, std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<unsigned long long>, std::__type_list<std::__align_type<double>, std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<double>, std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<int*>, std::__nat>;
template class __declspec(dllexport) std::__type_list<int, std::__type_list<long, std::__type_list<long long, std::__nat>>>;
template class __declspec(dllexport) std::__type_list<long, std::__type_list<long long, std::__nat>>;
template class __declspec(dllexport) std::__type_list<long long, std::__nat>;
template class __declspec(dllexport) std::__type_list<unsigned int, std::__type_list<unsigned long, std::__type_list<unsigned long long, std::__nat>>>;
template class __declspec(dllexport) std::__type_list<unsigned long, std::__type_list<unsigned long long, std::__nat>>;
template class __declspec(dllexport) std::__type_list<unsigned long long, std::__nat>;
template class __declspec(dllexport) std::__tuple_types<>;
template class __declspec(dllexport) std::allocator<wchar_t>;
template class __declspec(dllexport) std::allocator<char16_t>;
template class __declspec(dllexport) std::allocator<char32_t>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::PreprocessedEntity*, std::allocator<CppSharp::CppParser::AST::PreprocessedEntity*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::BlockContentComment*, std::allocator<CppSharp::CppParser::AST::BlockContentComment*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Parameter*, std::allocator<CppSharp::CppParser::AST::Parameter*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Declaration*, std::allocator<CppSharp::CppParser::AST::Declaration*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::FunctionTemplateSpecialization*, std::allocator<CppSharp::CppParser::AST::FunctionTemplateSpecialization*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::TemplateArgument, std::allocator<CppSharp::CppParser::AST::TemplateArgument>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Function*, std::allocator<CppSharp::CppParser::AST::Function*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Template*, std::allocator<CppSharp::CppParser::AST::Template*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::TypedefDecl*, std::allocator<CppSharp::CppParser::AST::TypedefDecl*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::TypeAlias*, std::allocator<CppSharp::CppParser::AST::TypeAlias*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Variable*, std::allocator<CppSharp::CppParser::AST::Variable*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Friend*, std::allocator<CppSharp::CppParser::AST::Friend*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::BaseClassSpecifier*, std::allocator<CppSharp::CppParser::AST::BaseClassSpecifier*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Field*, std::allocator<CppSharp::CppParser::AST::Field*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Method*, std::allocator<CppSharp::CppParser::AST::Method*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::AccessSpecifierDecl*, std::allocator<CppSharp::CppParser::AST::AccessSpecifierDecl*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::VTableComponent, std::allocator<CppSharp::CppParser::AST::VTableComponent>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::VFTableInfo, std::allocator<CppSharp::CppParser::AST::VFTableInfo>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::LayoutField, std::allocator<CppSharp::CppParser::AST::LayoutField>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::LayoutBase, std::allocator<CppSharp::CppParser::AST::LayoutBase>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Class*, std::allocator<CppSharp::CppParser::AST::Class*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Enumeration::Item*, std::allocator<CppSharp::CppParser::AST::Enumeration::Item*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Enumeration*, std::allocator<CppSharp::CppParser::AST::Enumeration*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Namespace*, std::allocator<CppSharp::CppParser::AST::Namespace*>&>;
template class __declspec(dllexport) std::__split_buffer<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::ClassTemplateSpecialization*, std::allocator<CppSharp::CppParser::AST::ClassTemplateSpecialization*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Expression*, std::allocator<CppSharp::CppParser::AST::Expression*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::VarTemplateSpecialization*, std::allocator<CppSharp::CppParser::AST::VarTemplateSpecialization*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::MacroDefinition*, std::allocator<CppSharp::CppParser::AST::MacroDefinition*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::TranslationUnit*, std::allocator<CppSharp::CppParser::AST::TranslationUnit*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::InlineContentComment*, std::allocator<CppSharp::CppParser::AST::InlineContentComment*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::BlockCommandComment::Argument, std::allocator<CppSharp::CppParser::AST::BlockCommandComment::Argument>&>;
template class __declspec(dllexport) std::__split_buffer<unsigned int, std::allocator<unsigned int>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::VerbatimBlockLineComment*, std::allocator<CppSharp::CppParser::AST::VerbatimBlockLineComment*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::InlineCommandComment::Argument, std::allocator<CppSharp::CppParser::AST::InlineCommandComment::Argument>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute, std::allocator<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::ParserDiagnostic, std::allocator<CppSharp::CppParser::ParserDiagnostic>&>;
template class __declspec(dllexport) std::placeholders::__ph<>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;

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

@ -6423,7 +6423,7 @@ namespace std @@ -6423,7 +6423,7 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.__1.allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
@ -10582,7 +10582,7 @@ namespace std @@ -10582,7 +10582,7 @@ namespace std
namespace __tree_end_node
{
[StructLayout(LayoutKind.Explicit, Size = 4)]
public unsafe partial struct Internalc__N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v
public unsafe partial struct Internal_Ptr
{
[FieldOffset(0)]
public global::System.IntPtr __left_;
@ -10880,11 +10880,12 @@ namespace std @@ -10880,11 +10880,12 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.__1.basic_string __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
Internal.dtor_0((__Instance + __PointerAdjustment));
if (disposing)
Internal.dtor_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
}

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

File diff suppressed because it is too large Load Diff

95
src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std-templates.cpp

@ -1,94 +1,7 @@ @@ -1,94 +1,7 @@
#include <string>
#include <vector>
#include <map>
#include <unordered_map>
template class __declspec(dllexport) std::allocator<char>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;
template class __declspec(dllexport) std::_Identity<int>;
template class __declspec(dllexport) std::_Identity<std::integral_constant<bool>>;
template class __declspec(dllexport) std::initializer_list<char>;
template class __declspec(dllexport) std::initializer_list<wchar_t>;
template class __declspec(dllexport) std::initializer_list<char16_t>;
template class __declspec(dllexport) std::initializer_list<char32_t>;
template class __declspec(dllexport) std::initializer_list<bool>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::PreprocessedEntity*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Parameter*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Declaration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::FunctionTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TemplateArgument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Function*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Template*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypedefDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypeAlias*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Variable*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Friend*>;
template class __declspec(dllexport) std::initializer_list<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BaseClassSpecifier*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Field*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Method*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::AccessSpecifierDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VTableComponent>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VFTableInfo>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutField>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutBase>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Class*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration::Item*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Namespace*>;
template class __declspec(dllexport) std::initializer_list<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::ClassTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Expression*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VarTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::MacroDefinition*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TranslationUnit*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<unsigned int>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VerbatimBlockLineComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::ParserDiagnostic>;
template class __declspec(dllexport) std::less<int>;
template class __declspec(dllexport) std::_Forced<std::_Unforced>;
template class __declspec(dllexport) std::_Lex_compare_optimize<void>;
template class __declspec(dllexport) std::_String_iter_types<char, unsigned int, int, char*, const char*, char&, const char&>;
template class __declspec(dllexport) std::_String_iter_types<wchar_t, unsigned int, int, wchar_t*, const wchar_t*, wchar_t&, const wchar_t&>;
template class __declspec(dllexport) std::_String_iter_types<char16_t, unsigned int, int, char16_t*, const char16_t*, char16_t&, const char16_t&>;
template class __declspec(dllexport) std::_String_iter_types<char32_t, unsigned int, int, char32_t*, const char32_t*, char32_t&, const char32_t&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::PreprocessedEntity*, unsigned int, int, CppSharp::CppParser::AST::PreprocessedEntity**, const CppSharp::CppParser::AST::PreprocessedEntity**, CppSharp::CppParser::AST::PreprocessedEntity*&, const CppSharp::CppParser::AST::PreprocessedEntity*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::BlockContentComment*, unsigned int, int, CppSharp::CppParser::AST::BlockContentComment**, const CppSharp::CppParser::AST::BlockContentComment**, CppSharp::CppParser::AST::BlockContentComment*&, const CppSharp::CppParser::AST::BlockContentComment*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Parameter*, unsigned int, int, CppSharp::CppParser::AST::Parameter**, const CppSharp::CppParser::AST::Parameter**, CppSharp::CppParser::AST::Parameter*&, const CppSharp::CppParser::AST::Parameter*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Declaration*, unsigned int, int, CppSharp::CppParser::AST::Declaration**, const CppSharp::CppParser::AST::Declaration**, CppSharp::CppParser::AST::Declaration*&, const CppSharp::CppParser::AST::Declaration*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::FunctionTemplateSpecialization*, unsigned int, int, CppSharp::CppParser::AST::FunctionTemplateSpecialization**, const CppSharp::CppParser::AST::FunctionTemplateSpecialization**, CppSharp::CppParser::AST::FunctionTemplateSpecialization*&, const CppSharp::CppParser::AST::FunctionTemplateSpecialization*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::TemplateArgument, unsigned int, int, CppSharp::CppParser::AST::TemplateArgument*, const CppSharp::CppParser::AST::TemplateArgument*, CppSharp::CppParser::AST::TemplateArgument&, const CppSharp::CppParser::AST::TemplateArgument&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Function*, unsigned int, int, CppSharp::CppParser::AST::Function**, const CppSharp::CppParser::AST::Function**, CppSharp::CppParser::AST::Function*&, const CppSharp::CppParser::AST::Function*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Template*, unsigned int, int, CppSharp::CppParser::AST::Template**, const CppSharp::CppParser::AST::Template**, CppSharp::CppParser::AST::Template*&, const CppSharp::CppParser::AST::Template*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::TypedefDecl*, unsigned int, int, CppSharp::CppParser::AST::TypedefDecl**, const CppSharp::CppParser::AST::TypedefDecl**, CppSharp::CppParser::AST::TypedefDecl*&, const CppSharp::CppParser::AST::TypedefDecl*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::TypeAlias*, unsigned int, int, CppSharp::CppParser::AST::TypeAlias**, const CppSharp::CppParser::AST::TypeAlias**, CppSharp::CppParser::AST::TypeAlias*&, const CppSharp::CppParser::AST::TypeAlias*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Variable*, unsigned int, int, CppSharp::CppParser::AST::Variable**, const CppSharp::CppParser::AST::Variable**, CppSharp::CppParser::AST::Variable*&, const CppSharp::CppParser::AST::Variable*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Friend*, unsigned int, int, CppSharp::CppParser::AST::Friend**, const CppSharp::CppParser::AST::Friend**, CppSharp::CppParser::AST::Friend*&, const CppSharp::CppParser::AST::Friend*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::BaseClassSpecifier*, unsigned int, int, CppSharp::CppParser::AST::BaseClassSpecifier**, const CppSharp::CppParser::AST::BaseClassSpecifier**, CppSharp::CppParser::AST::BaseClassSpecifier*&, const CppSharp::CppParser::AST::BaseClassSpecifier*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Field*, unsigned int, int, CppSharp::CppParser::AST::Field**, const CppSharp::CppParser::AST::Field**, CppSharp::CppParser::AST::Field*&, const CppSharp::CppParser::AST::Field*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Method*, unsigned int, int, CppSharp::CppParser::AST::Method**, const CppSharp::CppParser::AST::Method**, CppSharp::CppParser::AST::Method*&, const CppSharp::CppParser::AST::Method*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::AccessSpecifierDecl*, unsigned int, int, CppSharp::CppParser::AST::AccessSpecifierDecl**, const CppSharp::CppParser::AST::AccessSpecifierDecl**, CppSharp::CppParser::AST::AccessSpecifierDecl*&, const CppSharp::CppParser::AST::AccessSpecifierDecl*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::VTableComponent, unsigned int, int, CppSharp::CppParser::AST::VTableComponent*, const CppSharp::CppParser::AST::VTableComponent*, CppSharp::CppParser::AST::VTableComponent&, const CppSharp::CppParser::AST::VTableComponent&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::VFTableInfo, unsigned int, int, CppSharp::CppParser::AST::VFTableInfo*, const CppSharp::CppParser::AST::VFTableInfo*, CppSharp::CppParser::AST::VFTableInfo&, const CppSharp::CppParser::AST::VFTableInfo&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::LayoutField, unsigned int, int, CppSharp::CppParser::AST::LayoutField*, const CppSharp::CppParser::AST::LayoutField*, CppSharp::CppParser::AST::LayoutField&, const CppSharp::CppParser::AST::LayoutField&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::LayoutBase, unsigned int, int, CppSharp::CppParser::AST::LayoutBase*, const CppSharp::CppParser::AST::LayoutBase*, CppSharp::CppParser::AST::LayoutBase&, const CppSharp::CppParser::AST::LayoutBase&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Class*, unsigned int, int, CppSharp::CppParser::AST::Class**, const CppSharp::CppParser::AST::Class**, CppSharp::CppParser::AST::Class*&, const CppSharp::CppParser::AST::Class*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Enumeration::Item*, unsigned int, int, CppSharp::CppParser::AST::Enumeration::Item**, const CppSharp::CppParser::AST::Enumeration::Item**, CppSharp::CppParser::AST::Enumeration::Item*&, const CppSharp::CppParser::AST::Enumeration::Item*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Enumeration*, unsigned int, int, CppSharp::CppParser::AST::Enumeration**, const CppSharp::CppParser::AST::Enumeration**, CppSharp::CppParser::AST::Enumeration*&, const CppSharp::CppParser::AST::Enumeration*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Namespace*, unsigned int, int, CppSharp::CppParser::AST::Namespace**, const CppSharp::CppParser::AST::Namespace**, CppSharp::CppParser::AST::Namespace*&, const CppSharp::CppParser::AST::Namespace*&>;
template class __declspec(dllexport) std::_Vec_iter_types<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned int, int, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>*, std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::ClassTemplateSpecialization*, unsigned int, int, CppSharp::CppParser::AST::ClassTemplateSpecialization**, const CppSharp::CppParser::AST::ClassTemplateSpecialization**, CppSharp::CppParser::AST::ClassTemplateSpecialization*&, const CppSharp::CppParser::AST::ClassTemplateSpecialization*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Expression*, unsigned int, int, CppSharp::CppParser::AST::Expression**, const CppSharp::CppParser::AST::Expression**, CppSharp::CppParser::AST::Expression*&, const CppSharp::CppParser::AST::Expression*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::VarTemplateSpecialization*, unsigned int, int, CppSharp::CppParser::AST::VarTemplateSpecialization**, const CppSharp::CppParser::AST::VarTemplateSpecialization**, CppSharp::CppParser::AST::VarTemplateSpecialization*&, const CppSharp::CppParser::AST::VarTemplateSpecialization*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::MacroDefinition*, unsigned int, int, CppSharp::CppParser::AST::MacroDefinition**, const CppSharp::CppParser::AST::MacroDefinition**, CppSharp::CppParser::AST::MacroDefinition*&, const CppSharp::CppParser::AST::MacroDefinition*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::TranslationUnit*, unsigned int, int, CppSharp::CppParser::AST::TranslationUnit**, const CppSharp::CppParser::AST::TranslationUnit**, CppSharp::CppParser::AST::TranslationUnit*&, const CppSharp::CppParser::AST::TranslationUnit*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::InlineContentComment*, unsigned int, int, CppSharp::CppParser::AST::InlineContentComment**, const CppSharp::CppParser::AST::InlineContentComment**, CppSharp::CppParser::AST::InlineContentComment*&, const CppSharp::CppParser::AST::InlineContentComment*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::BlockCommandComment::Argument, unsigned int, int, CppSharp::CppParser::AST::BlockCommandComment::Argument*, const CppSharp::CppParser::AST::BlockCommandComment::Argument*, CppSharp::CppParser::AST::BlockCommandComment::Argument&, const CppSharp::CppParser::AST::BlockCommandComment::Argument&>;
template class __declspec(dllexport) std::_Vec_iter_types<unsigned int, unsigned int, int, unsigned int*, const unsigned int*, unsigned int&, const unsigned int&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::VerbatimBlockLineComment*, unsigned int, int, CppSharp::CppParser::AST::VerbatimBlockLineComment**, const CppSharp::CppParser::AST::VerbatimBlockLineComment**, CppSharp::CppParser::AST::VerbatimBlockLineComment*&, const CppSharp::CppParser::AST::VerbatimBlockLineComment*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::InlineCommandComment::Argument, unsigned int, int, CppSharp::CppParser::AST::InlineCommandComment::Argument*, const CppSharp::CppParser::AST::InlineCommandComment::Argument*, CppSharp::CppParser::AST::InlineCommandComment::Argument&, const CppSharp::CppParser::AST::InlineCommandComment::Argument&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute, unsigned int, int, CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*, const CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*, CppSharp::CppParser::AST::HTMLStartTagComment::Attribute&, const CppSharp::CppParser::AST::HTMLStartTagComment::Attribute&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::ParserDiagnostic, unsigned int, int, CppSharp::CppParser::ParserDiagnostic*, const CppSharp::CppParser::ParserDiagnostic*, CppSharp::CppParser::ParserDiagnostic&, const CppSharp::CppParser::ParserDiagnostic&>;
template class __declspec(dllexport) std::_Tree_iter_types<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>, unsigned int, int, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>*, const std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>*, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>&, const std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>&, std::_Tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>, void*>*>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;

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

@ -4879,7 +4879,7 @@ namespace std @@ -4879,7 +4879,7 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
@ -6035,11 +6035,12 @@ namespace std @@ -6035,11 +6035,12 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.basic_string __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
Internal.dtor_0((__Instance + __PointerAdjustment), 0);
if (disposing)
Internal.dtor_0((__Instance + __PointerAdjustment), 0);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
}

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

File diff suppressed because it is too large Load Diff

101
src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Std-templates.cpp

@ -1,100 +1,7 @@ @@ -1,100 +1,7 @@
#include <string>
#include <vector>
#include <map>
#include <unordered_map>
template class __declspec(dllexport) std::allocator<char>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;
template class __declspec(dllexport) std::initializer_list<char>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::PreprocessedEntity*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Parameter*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Declaration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::FunctionTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TemplateArgument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Function*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Template*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypedefDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypeAlias*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Variable*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Friend*>;
template class __declspec(dllexport) std::initializer_list<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BaseClassSpecifier*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Field*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Method*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::AccessSpecifierDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VTableComponent>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VFTableInfo>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutField>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutBase>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Class*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration::Item*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Namespace*>;
template class __declspec(dllexport) std::initializer_list<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::ClassTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Expression*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VarTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::MacroDefinition*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TranslationUnit*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<unsigned int>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VerbatimBlockLineComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::ParserDiagnostic>;
template class __declspec(dllexport) std::__type_list<std::__align_type<unsigned short>, std::__type_list<std::__align_type<unsigned int>, std::__type_list<std::__align_type<unsigned long>, std::__type_list<std::__align_type<unsigned long long>, std::__type_list<std::__align_type<double>, std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>>>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<unsigned int>, std::__type_list<std::__align_type<unsigned long>, std::__type_list<std::__align_type<unsigned long long>, std::__type_list<std::__align_type<double>, std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<unsigned long>, std::__type_list<std::__align_type<unsigned long long>, std::__type_list<std::__align_type<double>, std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<unsigned long long>, std::__type_list<std::__align_type<double>, std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<double>, std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<long double>, std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<std::__struct_double>, std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<std::__struct_double4>, std::__type_list<std::__align_type<int*>, std::__nat>>;
template class __declspec(dllexport) std::__type_list<std::__align_type<int*>, std::__nat>;
template class __declspec(dllexport) std::__type_list<int, std::__type_list<long, std::__type_list<long long, std::__nat>>>;
template class __declspec(dllexport) std::__type_list<long, std::__type_list<long long, std::__nat>>;
template class __declspec(dllexport) std::__type_list<long long, std::__nat>;
template class __declspec(dllexport) std::__type_list<unsigned int, std::__type_list<unsigned long, std::__type_list<unsigned long long, std::__nat>>>;
template class __declspec(dllexport) std::__type_list<unsigned long, std::__type_list<unsigned long long, std::__nat>>;
template class __declspec(dllexport) std::__type_list<unsigned long long, std::__nat>;
template class __declspec(dllexport) std::__tuple_types<>;
template class __declspec(dllexport) std::allocator<wchar_t>;
template class __declspec(dllexport) std::allocator<char16_t>;
template class __declspec(dllexport) std::allocator<char32_t>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::PreprocessedEntity*, std::allocator<CppSharp::CppParser::AST::PreprocessedEntity*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::BlockContentComment*, std::allocator<CppSharp::CppParser::AST::BlockContentComment*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Parameter*, std::allocator<CppSharp::CppParser::AST::Parameter*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Declaration*, std::allocator<CppSharp::CppParser::AST::Declaration*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::FunctionTemplateSpecialization*, std::allocator<CppSharp::CppParser::AST::FunctionTemplateSpecialization*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::TemplateArgument, std::allocator<CppSharp::CppParser::AST::TemplateArgument>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Function*, std::allocator<CppSharp::CppParser::AST::Function*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Template*, std::allocator<CppSharp::CppParser::AST::Template*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::TypedefDecl*, std::allocator<CppSharp::CppParser::AST::TypedefDecl*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::TypeAlias*, std::allocator<CppSharp::CppParser::AST::TypeAlias*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Variable*, std::allocator<CppSharp::CppParser::AST::Variable*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Friend*, std::allocator<CppSharp::CppParser::AST::Friend*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::BaseClassSpecifier*, std::allocator<CppSharp::CppParser::AST::BaseClassSpecifier*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Field*, std::allocator<CppSharp::CppParser::AST::Field*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Method*, std::allocator<CppSharp::CppParser::AST::Method*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::AccessSpecifierDecl*, std::allocator<CppSharp::CppParser::AST::AccessSpecifierDecl*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::VTableComponent, std::allocator<CppSharp::CppParser::AST::VTableComponent>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::VFTableInfo, std::allocator<CppSharp::CppParser::AST::VFTableInfo>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::LayoutField, std::allocator<CppSharp::CppParser::AST::LayoutField>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::LayoutBase, std::allocator<CppSharp::CppParser::AST::LayoutBase>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Class*, std::allocator<CppSharp::CppParser::AST::Class*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Enumeration::Item*, std::allocator<CppSharp::CppParser::AST::Enumeration::Item*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Enumeration*, std::allocator<CppSharp::CppParser::AST::Enumeration*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Namespace*, std::allocator<CppSharp::CppParser::AST::Namespace*>&>;
template class __declspec(dllexport) std::__split_buffer<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::ClassTemplateSpecialization*, std::allocator<CppSharp::CppParser::AST::ClassTemplateSpecialization*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::Expression*, std::allocator<CppSharp::CppParser::AST::Expression*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::VarTemplateSpecialization*, std::allocator<CppSharp::CppParser::AST::VarTemplateSpecialization*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::MacroDefinition*, std::allocator<CppSharp::CppParser::AST::MacroDefinition*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::TranslationUnit*, std::allocator<CppSharp::CppParser::AST::TranslationUnit*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::InlineContentComment*, std::allocator<CppSharp::CppParser::AST::InlineContentComment*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::BlockCommandComment::Argument, std::allocator<CppSharp::CppParser::AST::BlockCommandComment::Argument>&>;
template class __declspec(dllexport) std::__split_buffer<unsigned int, std::allocator<unsigned int>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::VerbatimBlockLineComment*, std::allocator<CppSharp::CppParser::AST::VerbatimBlockLineComment*>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::InlineCommandComment::Argument, std::allocator<CppSharp::CppParser::AST::InlineCommandComment::Argument>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute, std::allocator<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute>&>;
template class __declspec(dllexport) std::__split_buffer<CppSharp::CppParser::ParserDiagnostic, std::allocator<CppSharp::CppParser::ParserDiagnostic>&>;
template class __declspec(dllexport) std::placeholders::__ph<>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;

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

@ -8535,7 +8535,7 @@ namespace std @@ -8535,7 +8535,7 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.__1.allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
@ -12694,7 +12694,7 @@ namespace std @@ -12694,7 +12694,7 @@ namespace std
namespace __tree_end_node
{
[StructLayout(LayoutKind.Explicit, Size = 8)]
public unsafe partial struct Internalc__N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v
public unsafe partial struct Internal_Ptr
{
[FieldOffset(0)]
public global::System.IntPtr __left_;
@ -13028,11 +13028,12 @@ namespace std @@ -13028,11 +13028,12 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.__1.basic_string __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
Internal.dtor_0((__Instance + __PointerAdjustment));
if (disposing)
Internal.dtor_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
}

676
src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

62
src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std-templates.cpp

@ -1,61 +1,7 @@ @@ -1,61 +1,7 @@
#include <string>
#include <vector>
#include <map>
#include <unordered_map>
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;
template class __declspec(dllexport) __gnu_cxx::__add_unsigned<bool>;
template class __declspec(dllexport) __gnu_cxx::__add_unsigned<wchar_t>;
template class __declspec(dllexport) __gnu_cxx::__remove_unsigned<bool>;
template class __declspec(dllexport) __gnu_cxx::__remove_unsigned<wchar_t>;
template class __declspec(dllexport) std::make_unsigned<bool>;
template class __declspec(dllexport) std::make_signed<bool>;
template class __declspec(dllexport) std::allocator<void>;
template class __declspec(dllexport) std::allocator<char>;
template class __declspec(dllexport) std::initializer_list<bool>;
template class __declspec(dllexport) std::initializer_list<char>;
template class __declspec(dllexport) std::initializer_list<wchar_t>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::PreprocessedEntity*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Parameter*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Declaration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::FunctionTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TemplateArgument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Function*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Template*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypedefDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypeAlias*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Variable*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Friend*>;
template class __declspec(dllexport) std::initializer_list<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BaseClassSpecifier*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Field*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Method*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::AccessSpecifierDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VTableComponent>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VFTableInfo>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutField>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutBase>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Class*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration::Item*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Namespace*>;
template class __declspec(dllexport) std::initializer_list<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::ClassTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Expression*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VarTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::MacroDefinition*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TranslationUnit*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<unsigned int>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VerbatimBlockLineComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::ParserDiagnostic>;
template class __declspec(dllexport) std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>>;
template class __declspec(dllexport) std::char_traits<char>;
template class __declspec(dllexport) std::char_traits<wchar_t>;
template class __declspec(dllexport) std::char_traits<char16_t>;
template class __declspec(dllexport) std::char_traits<char32_t>;
template class __declspec(dllexport) std::ctype<char>;
template class __declspec(dllexport) std::ctype<wchar_t>;
template class __declspec(dllexport) std::codecvt<char, char, __mbstate_t>;
template class __declspec(dllexport) std::codecvt<wchar_t, char, __mbstate_t>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;

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

@ -290,7 +290,7 @@ namespace std @@ -290,7 +290,7 @@ namespace std
namespace pair
{
[StructLayout(LayoutKind.Explicit, Size = 16)]
public unsafe partial struct Internalc__N_std_S_pair_____N_std_S__Rb_tree_node_base_S0_
public unsafe partial struct Internal_Ptr
{
[FieldOffset(0)]
public global::System.IntPtr first;
@ -649,11 +649,12 @@ namespace std @@ -649,11 +649,12 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
Internal.dtor_0((__Instance + __PointerAdjustment));
if (disposing)
Internal.dtor_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
}
@ -3162,11 +3163,12 @@ namespace std @@ -3162,11 +3163,12 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.__cxx11.basic_string __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
Internal.dtor_0((__Instance + __PointerAdjustment));
if (disposing)
Internal.dtor_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
}

676
src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

62
src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std-templates.cpp

@ -1,61 +1,7 @@ @@ -1,61 +1,7 @@
#include <string>
#include <vector>
#include <map>
#include <unordered_map>
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;
template class __declspec(dllexport) __gnu_cxx::__add_unsigned<bool>;
template class __declspec(dllexport) __gnu_cxx::__add_unsigned<wchar_t>;
template class __declspec(dllexport) __gnu_cxx::__remove_unsigned<bool>;
template class __declspec(dllexport) __gnu_cxx::__remove_unsigned<wchar_t>;
template class __declspec(dllexport) std::make_unsigned<bool>;
template class __declspec(dllexport) std::make_signed<bool>;
template class __declspec(dllexport) std::allocator<void>;
template class __declspec(dllexport) std::allocator<char>;
template class __declspec(dllexport) std::initializer_list<bool>;
template class __declspec(dllexport) std::initializer_list<char>;
template class __declspec(dllexport) std::initializer_list<wchar_t>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::PreprocessedEntity*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Parameter*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Declaration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::FunctionTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TemplateArgument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Function*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Template*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypedefDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypeAlias*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Variable*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Friend*>;
template class __declspec(dllexport) std::initializer_list<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BaseClassSpecifier*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Field*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Method*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::AccessSpecifierDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VTableComponent>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VFTableInfo>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutField>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutBase>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Class*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration::Item*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Namespace*>;
template class __declspec(dllexport) std::initializer_list<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::ClassTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Expression*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VarTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::MacroDefinition*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TranslationUnit*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<unsigned int>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VerbatimBlockLineComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::ParserDiagnostic>;
template class __declspec(dllexport) std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>>;
template class __declspec(dllexport) std::char_traits<char>;
template class __declspec(dllexport) std::char_traits<wchar_t>;
template class __declspec(dllexport) std::char_traits<char16_t>;
template class __declspec(dllexport) std::char_traits<char32_t>;
template class __declspec(dllexport) std::ctype<char>;
template class __declspec(dllexport) std::ctype<wchar_t>;
template class __declspec(dllexport) std::codecvt<char, char, __mbstate_t>;
template class __declspec(dllexport) std::codecvt<wchar_t, char, __mbstate_t>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;

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

@ -290,7 +290,7 @@ namespace std @@ -290,7 +290,7 @@ namespace std
namespace pair
{
[StructLayout(LayoutKind.Explicit, Size = 16)]
public unsafe partial struct Internalc__N_std_S_pair_____N_std_S__Rb_tree_node_base_S0_
public unsafe partial struct Internal_Ptr
{
[FieldOffset(0)]
public global::System.IntPtr first;
@ -649,11 +649,12 @@ namespace std @@ -649,11 +649,12 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
Internal.dtor_0((__Instance + __PointerAdjustment));
if (disposing)
Internal.dtor_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
}
@ -3114,11 +3115,12 @@ namespace std @@ -3114,11 +3115,12 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.basic_string __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
Internal.dtor_0((__Instance + __PointerAdjustment));
if (disposing)
Internal.dtor_0((__Instance + __PointerAdjustment));
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
}

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

File diff suppressed because it is too large Load Diff

95
src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std-templates.cpp

@ -1,94 +1,7 @@ @@ -1,94 +1,7 @@
#include <string>
#include <vector>
#include <map>
#include <unordered_map>
template class __declspec(dllexport) std::allocator<char>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;
template class __declspec(dllexport) std::_Identity<long long>;
template class __declspec(dllexport) std::_Identity<std::integral_constant<bool>>;
template class __declspec(dllexport) std::initializer_list<char>;
template class __declspec(dllexport) std::initializer_list<wchar_t>;
template class __declspec(dllexport) std::initializer_list<char16_t>;
template class __declspec(dllexport) std::initializer_list<char32_t>;
template class __declspec(dllexport) std::initializer_list<bool>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::PreprocessedEntity*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Parameter*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Declaration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::FunctionTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TemplateArgument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Function*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Template*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypedefDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TypeAlias*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Variable*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Friend*>;
template class __declspec(dllexport) std::initializer_list<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BaseClassSpecifier*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Field*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Method*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::AccessSpecifierDecl*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VTableComponent>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VFTableInfo>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutField>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::LayoutBase>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Class*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration::Item*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Enumeration*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Namespace*>;
template class __declspec(dllexport) std::initializer_list<std::basic_string<char, std::char_traits<char>, std::allocator<char>>>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::ClassTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::Expression*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VarTemplateSpecialization*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::MacroDefinition*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::TranslationUnit*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineContentComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::BlockCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<unsigned int>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::VerbatimBlockLineComment*>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::InlineCommandComment::Argument>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute>;
template class __declspec(dllexport) std::initializer_list<CppSharp::CppParser::ParserDiagnostic>;
template class __declspec(dllexport) std::less<int>;
template class __declspec(dllexport) std::_Forced<std::_Unforced>;
template class __declspec(dllexport) std::_Lex_compare_optimize<void>;
template class __declspec(dllexport) std::_String_iter_types<char, unsigned long long, long long, char*, const char*, char&, const char&>;
template class __declspec(dllexport) std::_String_iter_types<wchar_t, unsigned long long, long long, wchar_t*, const wchar_t*, wchar_t&, const wchar_t&>;
template class __declspec(dllexport) std::_String_iter_types<char16_t, unsigned long long, long long, char16_t*, const char16_t*, char16_t&, const char16_t&>;
template class __declspec(dllexport) std::_String_iter_types<char32_t, unsigned long long, long long, char32_t*, const char32_t*, char32_t&, const char32_t&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::PreprocessedEntity*, unsigned long long, long long, CppSharp::CppParser::AST::PreprocessedEntity**, const CppSharp::CppParser::AST::PreprocessedEntity**, CppSharp::CppParser::AST::PreprocessedEntity*&, const CppSharp::CppParser::AST::PreprocessedEntity*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::BlockContentComment*, unsigned long long, long long, CppSharp::CppParser::AST::BlockContentComment**, const CppSharp::CppParser::AST::BlockContentComment**, CppSharp::CppParser::AST::BlockContentComment*&, const CppSharp::CppParser::AST::BlockContentComment*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Parameter*, unsigned long long, long long, CppSharp::CppParser::AST::Parameter**, const CppSharp::CppParser::AST::Parameter**, CppSharp::CppParser::AST::Parameter*&, const CppSharp::CppParser::AST::Parameter*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Declaration*, unsigned long long, long long, CppSharp::CppParser::AST::Declaration**, const CppSharp::CppParser::AST::Declaration**, CppSharp::CppParser::AST::Declaration*&, const CppSharp::CppParser::AST::Declaration*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::FunctionTemplateSpecialization*, unsigned long long, long long, CppSharp::CppParser::AST::FunctionTemplateSpecialization**, const CppSharp::CppParser::AST::FunctionTemplateSpecialization**, CppSharp::CppParser::AST::FunctionTemplateSpecialization*&, const CppSharp::CppParser::AST::FunctionTemplateSpecialization*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::TemplateArgument, unsigned long long, long long, CppSharp::CppParser::AST::TemplateArgument*, const CppSharp::CppParser::AST::TemplateArgument*, CppSharp::CppParser::AST::TemplateArgument&, const CppSharp::CppParser::AST::TemplateArgument&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Function*, unsigned long long, long long, CppSharp::CppParser::AST::Function**, const CppSharp::CppParser::AST::Function**, CppSharp::CppParser::AST::Function*&, const CppSharp::CppParser::AST::Function*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Template*, unsigned long long, long long, CppSharp::CppParser::AST::Template**, const CppSharp::CppParser::AST::Template**, CppSharp::CppParser::AST::Template*&, const CppSharp::CppParser::AST::Template*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::TypedefDecl*, unsigned long long, long long, CppSharp::CppParser::AST::TypedefDecl**, const CppSharp::CppParser::AST::TypedefDecl**, CppSharp::CppParser::AST::TypedefDecl*&, const CppSharp::CppParser::AST::TypedefDecl*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::TypeAlias*, unsigned long long, long long, CppSharp::CppParser::AST::TypeAlias**, const CppSharp::CppParser::AST::TypeAlias**, CppSharp::CppParser::AST::TypeAlias*&, const CppSharp::CppParser::AST::TypeAlias*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Variable*, unsigned long long, long long, CppSharp::CppParser::AST::Variable**, const CppSharp::CppParser::AST::Variable**, CppSharp::CppParser::AST::Variable*&, const CppSharp::CppParser::AST::Variable*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Friend*, unsigned long long, long long, CppSharp::CppParser::AST::Friend**, const CppSharp::CppParser::AST::Friend**, CppSharp::CppParser::AST::Friend*&, const CppSharp::CppParser::AST::Friend*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::BaseClassSpecifier*, unsigned long long, long long, CppSharp::CppParser::AST::BaseClassSpecifier**, const CppSharp::CppParser::AST::BaseClassSpecifier**, CppSharp::CppParser::AST::BaseClassSpecifier*&, const CppSharp::CppParser::AST::BaseClassSpecifier*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Field*, unsigned long long, long long, CppSharp::CppParser::AST::Field**, const CppSharp::CppParser::AST::Field**, CppSharp::CppParser::AST::Field*&, const CppSharp::CppParser::AST::Field*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Method*, unsigned long long, long long, CppSharp::CppParser::AST::Method**, const CppSharp::CppParser::AST::Method**, CppSharp::CppParser::AST::Method*&, const CppSharp::CppParser::AST::Method*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::AccessSpecifierDecl*, unsigned long long, long long, CppSharp::CppParser::AST::AccessSpecifierDecl**, const CppSharp::CppParser::AST::AccessSpecifierDecl**, CppSharp::CppParser::AST::AccessSpecifierDecl*&, const CppSharp::CppParser::AST::AccessSpecifierDecl*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::VTableComponent, unsigned long long, long long, CppSharp::CppParser::AST::VTableComponent*, const CppSharp::CppParser::AST::VTableComponent*, CppSharp::CppParser::AST::VTableComponent&, const CppSharp::CppParser::AST::VTableComponent&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::VFTableInfo, unsigned long long, long long, CppSharp::CppParser::AST::VFTableInfo*, const CppSharp::CppParser::AST::VFTableInfo*, CppSharp::CppParser::AST::VFTableInfo&, const CppSharp::CppParser::AST::VFTableInfo&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::LayoutField, unsigned long long, long long, CppSharp::CppParser::AST::LayoutField*, const CppSharp::CppParser::AST::LayoutField*, CppSharp::CppParser::AST::LayoutField&, const CppSharp::CppParser::AST::LayoutField&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::LayoutBase, unsigned long long, long long, CppSharp::CppParser::AST::LayoutBase*, const CppSharp::CppParser::AST::LayoutBase*, CppSharp::CppParser::AST::LayoutBase&, const CppSharp::CppParser::AST::LayoutBase&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Class*, unsigned long long, long long, CppSharp::CppParser::AST::Class**, const CppSharp::CppParser::AST::Class**, CppSharp::CppParser::AST::Class*&, const CppSharp::CppParser::AST::Class*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Enumeration::Item*, unsigned long long, long long, CppSharp::CppParser::AST::Enumeration::Item**, const CppSharp::CppParser::AST::Enumeration::Item**, CppSharp::CppParser::AST::Enumeration::Item*&, const CppSharp::CppParser::AST::Enumeration::Item*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Enumeration*, unsigned long long, long long, CppSharp::CppParser::AST::Enumeration**, const CppSharp::CppParser::AST::Enumeration**, CppSharp::CppParser::AST::Enumeration*&, const CppSharp::CppParser::AST::Enumeration*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Namespace*, unsigned long long, long long, CppSharp::CppParser::AST::Namespace**, const CppSharp::CppParser::AST::Namespace**, CppSharp::CppParser::AST::Namespace*&, const CppSharp::CppParser::AST::Namespace*&>;
template class __declspec(dllexport) std::_Vec_iter_types<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long long, long long, std::basic_string<char, std::char_traits<char>, std::allocator<char>>*, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>*, std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::ClassTemplateSpecialization*, unsigned long long, long long, CppSharp::CppParser::AST::ClassTemplateSpecialization**, const CppSharp::CppParser::AST::ClassTemplateSpecialization**, CppSharp::CppParser::AST::ClassTemplateSpecialization*&, const CppSharp::CppParser::AST::ClassTemplateSpecialization*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::Expression*, unsigned long long, long long, CppSharp::CppParser::AST::Expression**, const CppSharp::CppParser::AST::Expression**, CppSharp::CppParser::AST::Expression*&, const CppSharp::CppParser::AST::Expression*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::VarTemplateSpecialization*, unsigned long long, long long, CppSharp::CppParser::AST::VarTemplateSpecialization**, const CppSharp::CppParser::AST::VarTemplateSpecialization**, CppSharp::CppParser::AST::VarTemplateSpecialization*&, const CppSharp::CppParser::AST::VarTemplateSpecialization*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::MacroDefinition*, unsigned long long, long long, CppSharp::CppParser::AST::MacroDefinition**, const CppSharp::CppParser::AST::MacroDefinition**, CppSharp::CppParser::AST::MacroDefinition*&, const CppSharp::CppParser::AST::MacroDefinition*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::TranslationUnit*, unsigned long long, long long, CppSharp::CppParser::AST::TranslationUnit**, const CppSharp::CppParser::AST::TranslationUnit**, CppSharp::CppParser::AST::TranslationUnit*&, const CppSharp::CppParser::AST::TranslationUnit*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::InlineContentComment*, unsigned long long, long long, CppSharp::CppParser::AST::InlineContentComment**, const CppSharp::CppParser::AST::InlineContentComment**, CppSharp::CppParser::AST::InlineContentComment*&, const CppSharp::CppParser::AST::InlineContentComment*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::BlockCommandComment::Argument, unsigned long long, long long, CppSharp::CppParser::AST::BlockCommandComment::Argument*, const CppSharp::CppParser::AST::BlockCommandComment::Argument*, CppSharp::CppParser::AST::BlockCommandComment::Argument&, const CppSharp::CppParser::AST::BlockCommandComment::Argument&>;
template class __declspec(dllexport) std::_Vec_iter_types<unsigned int, unsigned long long, long long, unsigned int*, const unsigned int*, unsigned int&, const unsigned int&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::VerbatimBlockLineComment*, unsigned long long, long long, CppSharp::CppParser::AST::VerbatimBlockLineComment**, const CppSharp::CppParser::AST::VerbatimBlockLineComment**, CppSharp::CppParser::AST::VerbatimBlockLineComment*&, const CppSharp::CppParser::AST::VerbatimBlockLineComment*&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::InlineCommandComment::Argument, unsigned long long, long long, CppSharp::CppParser::AST::InlineCommandComment::Argument*, const CppSharp::CppParser::AST::InlineCommandComment::Argument*, CppSharp::CppParser::AST::InlineCommandComment::Argument&, const CppSharp::CppParser::AST::InlineCommandComment::Argument&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::AST::HTMLStartTagComment::Attribute, unsigned long long, long long, CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*, const CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*, CppSharp::CppParser::AST::HTMLStartTagComment::Attribute&, const CppSharp::CppParser::AST::HTMLStartTagComment::Attribute&>;
template class __declspec(dllexport) std::_Vec_iter_types<CppSharp::CppParser::ParserDiagnostic, unsigned long long, long long, CppSharp::CppParser::ParserDiagnostic*, const CppSharp::CppParser::ParserDiagnostic*, CppSharp::CppParser::ParserDiagnostic&, const CppSharp::CppParser::ParserDiagnostic&>;
template class __declspec(dllexport) std::_Tree_iter_types<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>, unsigned long long, long long, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>*, const std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>*, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>&, const std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>&, std::_Tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, CppSharp::CppParser::AST::Declaration*>, void*>*>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char>>;

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

@ -4879,7 +4879,7 @@ namespace std @@ -4879,7 +4879,7 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.allocator __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
@ -6072,11 +6072,12 @@ namespace std @@ -6072,11 +6072,12 @@ namespace std
Dispose(disposing: true);
}
protected virtual void Dispose(bool disposing)
public virtual void Dispose(bool disposing)
{
global::std.basic_string __dummy;
NativeToManagedMap.TryRemove(__Instance, out __dummy);
Internal.dtor_0((__Instance + __PointerAdjustment), 0);
if (disposing)
Internal.dtor_0((__Instance + __PointerAdjustment), 0);
if (__ownsNativeInstance)
Marshal.FreeHGlobal(__Instance);
}

20
src/CppParser/CppParser.cpp

@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
namespace CppSharp { namespace CppParser {
ParserOptions::ParserOptions()
CppParserOptions::CppParserOptions()
: ASTContext(0)
, ToolSetToUse(0)
, Abi(CppAbi::Itanium)
@ -23,15 +23,15 @@ ParserOptions::ParserOptions() @@ -23,15 +23,15 @@ ParserOptions::ParserOptions()
{
}
DEF_VECTOR_STRING(ParserOptions, Arguments)
DEF_STRING(ParserOptions, LibraryFile)
DEF_VECTOR_STRING(ParserOptions, SourceFiles)
DEF_VECTOR_STRING(ParserOptions, IncludeDirs)
DEF_VECTOR_STRING(ParserOptions, SystemIncludeDirs)
DEF_VECTOR_STRING(ParserOptions, Defines)
DEF_VECTOR_STRING(ParserOptions, Undefines)
DEF_VECTOR_STRING(ParserOptions, LibraryDirs)
DEF_STRING(ParserOptions, TargetTriple)
DEF_VECTOR_STRING(CppParserOptions, Arguments)
DEF_STRING(CppParserOptions, LibraryFile)
DEF_VECTOR_STRING(CppParserOptions, SourceFiles)
DEF_VECTOR_STRING(CppParserOptions, IncludeDirs)
DEF_VECTOR_STRING(CppParserOptions, SystemIncludeDirs)
DEF_VECTOR_STRING(CppParserOptions, Defines)
DEF_VECTOR_STRING(CppParserOptions, Undefines)
DEF_VECTOR_STRING(CppParserOptions, LibraryDirs)
DEF_STRING(CppParserOptions, TargetTriple)
DEF_STRING(ParserTargetInfo, ABI)
ParserResult::ParserResult()

10
src/CppParser/CppParser.h

@ -31,9 +31,9 @@ enum class LanguageVersion @@ -31,9 +31,9 @@ enum class LanguageVersion
CPlusPlus11
};
struct CS_API ParserOptions
struct CS_API CppParserOptions
{
ParserOptions();
CppParserOptions();
VECTOR_STRING(Arguments)
@ -120,9 +120,9 @@ class CS_API ClangParser @@ -120,9 +120,9 @@ class CS_API ClangParser
{
public:
static ParserResult* ParseHeader(ParserOptions* Opts);
static ParserResult* ParseLibrary(ParserOptions* Opts);
static ParserTargetInfo* GetTargetInfo(ParserOptions* Opts);
static ParserResult* ParseHeader(CppParserOptions* Opts);
static ParserResult* ParseLibrary(CppParserOptions* Opts);
static ParserTargetInfo* GetTargetInfo(CppParserOptions* Opts);
};
} }

8
src/CppParser/Parser.cpp

@ -66,7 +66,7 @@ void* IgnorePtr = (void*) 0x1; @@ -66,7 +66,7 @@ void* IgnorePtr = (void*) 0x1;
//-----------------------------------//
Parser::Parser(ParserOptions* Opts) : Lib(Opts->ASTContext), Opts(Opts), Index(0)
Parser::Parser(CppParserOptions* Opts) : Lib(Opts->ASTContext), Opts(Opts), Index(0)
{
}
@ -4029,7 +4029,7 @@ ParserResult* Parser::ParseLibrary(const std::string& File, ParserResult* res) @@ -4029,7 +4029,7 @@ ParserResult* Parser::ParseLibrary(const std::string& File, ParserResult* res)
return res;
}
ParserResult* ClangParser::ParseHeader(ParserOptions* Opts)
ParserResult* ClangParser::ParseHeader(CppParserOptions* Opts)
{
if (!Opts)
return nullptr;
@ -4039,7 +4039,7 @@ ParserResult* ClangParser::ParseHeader(ParserOptions* Opts) @@ -4039,7 +4039,7 @@ ParserResult* ClangParser::ParseHeader(ParserOptions* Opts)
return res->CodeParser->ParseHeader(Opts->SourceFiles, res);
}
ParserResult* ClangParser::ParseLibrary(ParserOptions* Opts)
ParserResult* ClangParser::ParseLibrary(CppParserOptions* Opts)
{
if (!Opts)
return nullptr;
@ -4049,7 +4049,7 @@ ParserResult* ClangParser::ParseLibrary(ParserOptions* Opts) @@ -4049,7 +4049,7 @@ ParserResult* ClangParser::ParseLibrary(ParserOptions* Opts)
return res->CodeParser->ParseLibrary(Opts->LibraryFile, res);
}
ParserTargetInfo* ClangParser::GetTargetInfo(ParserOptions* Opts)
ParserTargetInfo* ClangParser::GetTargetInfo(CppParserOptions* Opts)
{
if (!Opts)
return nullptr;

4
src/CppParser/Parser.h

@ -45,7 +45,7 @@ namespace CppSharp { namespace CppParser { @@ -45,7 +45,7 @@ namespace CppSharp { namespace CppParser {
class Parser
{
public:
Parser(ParserOptions* Opts);
Parser(CppParserOptions* Opts);
void SetupHeader();
ParserResult* ParseHeader(const std::vector<std::string>& SourceFiles, ParserResult* res);
@ -140,7 +140,7 @@ private: @@ -140,7 +140,7 @@ private:
int Index;
ASTContext* Lib;
ParserOptions* Opts;
CppParserOptions* Opts;
std::unique_ptr<clang::CompilerInstance> C;
clang::ASTContext* AST;
clang::TargetCXXABI::Kind TargetABI;

2
src/Generator.Tests/AST/TestAST.cs

@ -316,7 +316,7 @@ namespace CppSharp.Generator.Tests.AST @@ -316,7 +316,7 @@ namespace CppSharp.Generator.Tests.AST
public void TestAmbiguity()
{
var bindingContext = new BindingContext(new TextDiagnosticPrinter(), new DriverOptions(),
new ParserOptions2());
new ParserOptions());
new CleanUnitPass { Context = bindingContext }.VisitLibrary(AstContext);
new CheckAmbiguousFunctions { Context = bindingContext }.VisitLibrary(AstContext);
Assert.IsTrue(AstContext.FindClass("HasAmbiguousFunctions").Single().FindMethod("ambiguous").IsAmbiguous);

4
src/Generator.Tests/ASTTestFixture.cs

@ -9,13 +9,13 @@ namespace CppSharp.Generator.Tests @@ -9,13 +9,13 @@ namespace CppSharp.Generator.Tests
{
protected Driver Driver;
protected DriverOptions Options;
protected ParserOptions2 ParserOptions;
protected ParserOptions ParserOptions;
protected ASTContext AstContext;
protected void ParseLibrary(params string[] files)
{
Options = new DriverOptions();
ParserOptions = new ParserOptions2();
ParserOptions = new ParserOptions();
var testsPath = GeneratorTest.GetTestsDirectory("Native");
ParserOptions.addIncludeDirs(testsPath);

2
src/Generator.Tests/ReadNativeDependenciesTest.cs

@ -38,7 +38,7 @@ namespace CppSharp.Generator.Tests @@ -38,7 +38,7 @@ namespace CppSharp.Generator.Tests
private static IList<string> GetDependencies(string library)
{
var parserOptions = new ParserOptions2();
var parserOptions = new ParserOptions();
parserOptions.addLibraryDirs(GeneratorTest.GetTestsDirectory("Native"));
var driverOptions = new DriverOptions();
driverOptions.Libraries.Add(library);

4
src/Generator/BindingContext.cs

@ -11,7 +11,7 @@ namespace CppSharp.Generators @@ -11,7 +11,7 @@ namespace CppSharp.Generators
public IDiagnostics Diagnostics { get; set; }
public DriverOptions Options { get; private set; }
public ParserOptions2 ParserOptions { get; set; }
public ParserOptions ParserOptions { get; set; }
public ASTContext ASTContext { get; set; }
public ParserTargetInfo TargetInfo { get; set; }
@ -27,7 +27,7 @@ namespace CppSharp.Generators @@ -27,7 +27,7 @@ namespace CppSharp.Generators
private static readonly Dictionary<string, string> libraryMappings = new Dictionary<string, string>();
public BindingContext(IDiagnostics diagnostics, DriverOptions options,
ParserOptions2 parserOptions = null)
ParserOptions parserOptions = null)
{
Options = options;
Diagnostics = diagnostics;

4
src/Generator/Driver.cs

@ -22,7 +22,7 @@ namespace CppSharp @@ -22,7 +22,7 @@ namespace CppSharp
{
public IDiagnostics Diagnostics { get; private set; }
public DriverOptions Options { get; private set; }
public ParserOptions2 ParserOptions { get; set; }
public ParserOptions ParserOptions { get; set; }
public Project Project { get; private set; }
public BindingContext Context { get; private set; }
public Generator Generator { get; private set; }
@ -34,7 +34,7 @@ namespace CppSharp @@ -34,7 +34,7 @@ namespace CppSharp
Options = options;
Diagnostics = diagnostics;
Project = new Project();
ParserOptions = new ParserOptions2();
ParserOptions = new ParserOptions();
}
Generator CreateGeneratorFromKind(GeneratorKind kind)

6
src/Parser/ParserOptions.cs

@ -2,9 +2,9 @@ @@ -2,9 +2,9 @@
namespace CppSharp.Parser
{
public class ParserOptions2 : ParserOptions
public class ParserOptions : CppParserOptions
{
public ParserOptions2()
public ParserOptions()
{
Abi = Platform.IsUnixPlatform ? CppAbi.Itanium : CppAbi.Microsoft;
MicrosoftMode = !Platform.IsUnixPlatform;
@ -19,7 +19,7 @@ namespace CppSharp.Parser @@ -19,7 +19,7 @@ namespace CppSharp.Parser
MicrosoftMode = true;
NoBuiltinIncludes = true;
NoStandardIncludes = true;
Abi = CppSharp.Parser.AST.CppAbi.Microsoft;
Abi = CppAbi.Microsoft;
ToolSetToUse = MSVCToolchain.GetCLVersion(vsVersion) * 10000000;
addArguments("-fms-extensions");

Loading…
Cancel
Save