PageRenderTime 42ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-29/SWIG/Examples/test-suite/namespace_typedef_class.i

#
Swig | 18 lines | 13 code | 5 blank | 0 comment | 0 complexity | 0085e5f297839b6c33d9e379b29c7c63 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %module namespace_typedef_class
  2. %inline %{
  3. namespace ns {
  4. struct S1
  5. {
  6. int n;
  7. };
  8. typedef struct
  9. {
  10. int n;
  11. } S2;
  12. }
  13. %}