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:
parent
be7fdab62e
commit
afd67f8c67
5 changed files with 57 additions and 16 deletions
32
Examples/test-suite/python_append.i
Normal file
32
Examples/test-suite/python_append.i
Normal 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() {};
|
||||
};
|
||||
|
||||
%}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue