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
|
|
@ -1,11 +1,9 @@
|
|||
%module null_pointer
|
||||
|
||||
%warnfilter(SWIGWARN_PARSE_KEYWORD) func; // 'func' is a Go keyword, renamed as 'Xfunc'
|
||||
|
||||
%inline {
|
||||
struct A {};
|
||||
|
||||
bool func(A* a) {
|
||||
bool funk(A* a) {
|
||||
return !a;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue