/trunk/Examples/test-suite/php_namewarn_rename.i
Swig | 29 lines | 21 code | 8 blank | 0 comment | 0 complexity | ba783d6b8edc591c566430fc01545a49 MD5 | raw file
1%module php_namewarn_rename 2 3#ifdef SWIGPHP 4%warnfilter(SWIGWARN_PARSE_KEYWORD) Empty(); 5%warnfilter(SWIGWARN_PARSE_KEYWORD) stdClass; 6%warnfilter(SWIGWARN_PARSE_KEYWORD) directory; 7%warnfilter(SWIGWARN_PARSE_KEYWORD) Hello::empty(); 8#endif 9 10%inline %{ 11 12 int Exception() { return 13; } 13 14 void Empty() {} 15 16 class stdClass 17 { 18 }; 19 20 class directory 21 { 22 }; 23 24 struct Hello 25 { 26 void empty() {} 27 }; 28 29%}