/trunk/Examples/test-suite/php_namewarn_rename.i
Swig | 29 lines | 21 code | 8 blank | 0 comment | 0 complexity | ba783d6b8edc591c566430fc01545a49 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %module php_namewarn_rename
- #ifdef SWIGPHP
- %warnfilter(SWIGWARN_PARSE_KEYWORD) Empty();
- %warnfilter(SWIGWARN_PARSE_KEYWORD) stdClass;
- %warnfilter(SWIGWARN_PARSE_KEYWORD) directory;
- %warnfilter(SWIGWARN_PARSE_KEYWORD) Hello::empty();
- #endif
- %inline %{
- int Exception() { return 13; }
- void Empty() {}
- class stdClass
- {
- };
- class directory
- {
- };
- struct Hello
- {
- void empty() {}
- };
- %}