PageRenderTime 38ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1-3-25/SWIG/Examples/python/weave/example.i

#
Swig | 13 lines | 9 code | 4 blank | 0 comment | 0 complexity | cde2cfe9fefc5b45b7b0c68059451fca MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %module(directors="1") example
  2. %feature("director");
  3. %{
  4. #include "example.h"
  5. %}
  6. %include "std_vector.i"
  7. %include "example.h"
  8. %template(VectorBar) std::vector<Bar*>;
  9. %template(VectorFoo) std::vector<Foo*>;