C# fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dade472fb2
commit
5fd5da5dba
2 changed files with 8 additions and 1 deletions
|
|
@ -11,6 +11,10 @@ It tests basic multiple inheritance */
|
||||||
#pragma SWIG nowarn=813; // Java doesn't support multiple inheritance
|
#pragma SWIG nowarn=813; // Java doesn't support multiple inheritance
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SWIGCSHARP
|
||||||
|
#pragma SWIG nowarn=833; // C# doesn't support multiple inheritance
|
||||||
|
#endif
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
||||||
class Bar {
|
class Bar {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
%module template_opaque
|
%module template_opaque
|
||||||
%include std_vector.i
|
%include "std_vector.i"
|
||||||
|
|
||||||
%{
|
%{
|
||||||
namespace A
|
namespace A
|
||||||
|
|
@ -35,4 +35,7 @@ namespace A {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef SWIGCSHARP
|
||||||
|
// C# vector typemaps only ready for simple cases right now
|
||||||
%template(OpaqueVectorType) std::vector<A::OpaqueType>;
|
%template(OpaqueVectorType) std::vector<A::OpaqueType>;
|
||||||
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue