to %warnfilter as I'd expect...) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
23 lines
337 B
OpenEdge ABL
23 lines
337 B
OpenEdge ABL
%module php_namewarn_rename
|
|
|
|
#ifdef SWIGPHP
|
|
%warnfilter(SWIGWARN_PARSE_KEYWORD) Empty();
|
|
// FIXME: this doesn't work for me:
|
|
%warnfilter(SWIGWARN_PARSE_KEYWORD) stdClass;
|
|
%warnfilter(SWIGWARN_PARSE_KEYWORD) Hello::empty();
|
|
#endif
|
|
|
|
%inline %{
|
|
|
|
void Empty() {}
|
|
|
|
class stdClass
|
|
{
|
|
};
|
|
|
|
struct Hello
|
|
{
|
|
void empty() {}
|
|
};
|
|
|
|
%}
|