Rename func to funk in tests to avoid Go keyword problems

This commit is contained in:
William S Fulton 2017-06-16 19:13:58 +01:00
commit 95e8643d70
16 changed files with 25 additions and 29 deletions

View file

@ -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