Created
April 23, 2011 06:36
-
-
Save jpf91/938408 to your computer and use it in GitHub Desktop.
Swig4D Bug1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%module bug; | |
//Use swig2.0 -Wall -d -d2 -c++ bug.i | |
//Then in the generated files: | |
//in Test/Test.d: | |
//"class Tag : ..strList {" | |
template <class T> class List | |
{ | |
public: | |
/*! | |
* Constructs an empty list. | |
*/ | |
List(); | |
}; | |
namespace Test { | |
%template(strList) ::List<char>; | |
%feature("nspace") Tag; | |
class Tag : public ::List<char> | |
{ | |
public: | |
::List<char> hello(); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment