Created
May 28, 2020 16:42
-
-
Save mondus/f142ca4c2ebc94eac7d070b521a367cc to your computer and use it in GitHub Desktop.
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
%feature("flatnested"); | |
%rename (Outer_Inner) Outer::Inner; | |
%inline %{ | |
class Outer { | |
public: | |
void OuterFunc() {}; | |
template<typename T> void TemplatOuterFunc(); | |
class Inner; | |
}; | |
class Outer::Inner { | |
public: | |
void InnerFunc() {}; | |
template<typename T> void TemplateInnerFunc(); | |
}; | |
%} | |
%template(TemplatOuterFuncInt) Outer::TemplatOuterFunc<int>; // Generated | |
%template(TemplateInnerFuncInt) Outer::Inner::TemplateInnerFunc<int>; // Not Generated (???) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment