import source from 1.3.40
[external/swig.git] / Examples / pike / template / example.i
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