add guards for swig/language extra methods and comments

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-10 17:58:14 +00:00
commit 409e17e94a
12 changed files with 85 additions and 14 deletions

View file

@ -93,6 +93,10 @@ namespace std {
%typemap_traits_ptr(SWIG_TYPECHECK_SET, std::set<T >);
%std_set_methods(set);
#ifdef %swig_set_methods
// Add swig/language extra methods
%swig_set_methods(std::set<T >);
#endif
};
}