aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/python_append.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python_append.i')
-rw-r--r--Examples/test-suite/python_append.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/Examples/test-suite/python_append.i b/Examples/test-suite/python_append.i
index 2a71b5784..049494319 100644
--- a/Examples/test-suite/python_append.i
+++ b/Examples/test-suite/python_append.i
@@ -17,11 +17,11 @@ def clearstaticpath():
staticfuncpath = None
%}
-%pythonappend Test::func %{
+%pythonappend Test::funk %{
funcpath = os.path.dirname(funcpath)
%}
-%pythonprepend Test::func %{
+%pythonprepend Test::funk %{
global funcpath
funcpath = mypath
%}
@@ -46,7 +46,7 @@ import os.path
class Test {
public:
static void static_func() {};
- void func() {};
+ void funk() {};
};
#ifdef SWIGPYTHON_BUILTIN