PageRenderTime 13ms CodeModel.GetById 11ms app.highlight 0ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-25/SWIG/Examples/pike/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%{
 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