PageRenderTime 21ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/python/template/example.i

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