replace bad parameter names when neccessary

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-10-21 10:43:41 +00:00
commit a4c0114c6a
10 changed files with 56 additions and 15 deletions

View file

@ -10,7 +10,7 @@
*/
/* activate all the name warnings */
%warnfilter(+315,+321,-403);
%warnfilter(+314,+321,-403);
%{
#ifdef max
@ -53,6 +53,15 @@
B() {}
};
}
%template(max_i) max<int>;
%inline {
/* silently rename the parameter names in csharp/java */
double foo(double in, double out) { return 1.0; }
double bar(double native, bool boolean) { return 1.0; }
}