PageRenderTime 40ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/using_namespace_loop.i

#
Swig | 16 lines | 13 code | 3 blank | 0 comment | 0 complexity | b4e8e1ecf7f7ae7de001a363689f4f20 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %module using_namespace_loop
  2. %inline {
  3. namespace A {
  4. struct Foo;
  5. }
  6. namespace B {
  7. using namespace A;
  8. }
  9. namespace A {
  10. using namespace B;
  11. typedef Foo Bar;
  12. }
  13. }