Fix SF#2552488: indentation adjust of %pythonappend and %pythonprepend

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Haoyu Bai 2009-01-31 14:37:54 +00:00
commit afd67f8c67
5 changed files with 57 additions and 16 deletions

View file

@ -0,0 +1,32 @@
/*
Testcase to test %pythonprepend and %pythonappend
*/
%module python_append
%pythonappend Test::func %{
pass
%}
%pythonprepend Test::func %{
pass
%}
%pythonappend Test::static_func %{
pass
%}
%pythonprepend Test::static_func {
pass
}
%inline %{
class Test {
public:
static void static_func() {};
void func() {};
};
%}