PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. %module php_namewarn_rename
  2. #ifdef SWIGPHP
  3. %warnfilter(SWIGWARN_PARSE_KEYWORD) Empty();
  4. %warnfilter(SWIGWARN_PARSE_KEYWORD) stdClass;
  5. %warnfilter(SWIGWARN_PARSE_KEYWORD) directory;
  6. %warnfilter(SWIGWARN_PARSE_KEYWORD) Hello::empty();
  7. #endif
  8. %inline %{
  9. int Exception() { return 13; }
  10. void Empty() {}
  11. class stdClass
  12. {
  13. };
  14. class directory
  15. {
  16. };
  17. struct Hello
  18. {
  19. void empty() {}
  20. };
  21. %}