Rename func to funk in tests to avoid Go keyword problems
This commit is contained in:
parent
67190cbb2e
commit
95e8643d70
16 changed files with 25 additions and 29 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue