Browse Source

Fix ABI leakage.

pull/1879/head
Joao Matos 9 months ago
parent
commit
62d27924c5
  1. 1
      src/CppParser/Bindings/CSharp/arm64-apple-darwin/Std-symbols.cpp
  2. 1
      src/CppParser/Bindings/CSharp/i686-apple-darwin/Std-symbols.cpp
  3. 1
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std-symbols.cpp
  4. 1
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin/Std-symbols.cpp
  5. 1
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std-symbols.cpp
  6. 1
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std-symbols.cpp
  7. 1
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std-symbols.cpp
  8. 1
      src/Generator/Passes/SymbolsCodeGenerator.cs

1
src/CppParser/Bindings/CSharp/arm64-apple-darwin/Std-symbols.cpp

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG
#include <string>
#include <new>

1
src/CppParser/Bindings/CSharp/i686-apple-darwin/Std-symbols.cpp

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG
#include <string>
#include <new>

1
src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Std-symbols.cpp

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG
#include <string>
#include <new>

1
src/CppParser/Bindings/CSharp/x86_64-apple-darwin/Std-symbols.cpp

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG
#include <string>
#include <new>

1
src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/Std-symbols.cpp

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG
#include <string>
#include <new>

1
src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std-symbols.cpp

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG
#include <string>
#include <new>

1
src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Std-symbols.cpp

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_HIDE_FROM_ABI
#define _LIBCPP_NO_ABI_TAG
#include <string>
#include <new>

1
src/Generator/Passes/SymbolsCodeGenerator.cs

@ -32,6 +32,7 @@ namespace CppSharp.Passes @@ -32,6 +32,7 @@ namespace CppSharp.Passes
{
WriteLine("#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS");
WriteLine("#define _LIBCPP_HIDE_FROM_ABI");
WriteLine("#define _LIBCPP_NO_ABI_TAG");
NewLine();
WriteLine("#include <string>");
}

Loading…
Cancel
Save