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

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