PageRenderTime 50ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/csharp/template/example.i

#
Swig | 17 lines | 9 code | 5 blank | 3 comment | 0 complexity | 6f3b6f9c159a080b8587b04600e147ff MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. /* File : example.i */
  2. %module example
  3. %{
  4. #include "example.h"
  5. %}
  6. /* Let's just grab the original header file here */
  7. %include "example.h"
  8. /* Now instantiate some specific template declarations */
  9. %template(maxint) max<int>;
  10. %template(maxdouble) max<double>;
  11. %template(vecint) vector<int>;
  12. %template(vecdouble) vector<double>;