PageRenderTime 15ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/tcl/std_vector/example.i

#
Swig | 17 lines | 10 code | 4 blank | 3 comment | 0 complexity | ebab88acd8bca6d9f05062bdd7465bd0 MD5 | raw file
 1/* File : example.i */
 2%module example
 3
 4%{
 5#include "example.h"
 6%}
 7
 8%include stl.i
 9/* instantiate the required template specializations */
10namespace std {
11    %template(IntVector)    vector<int>;
12    %template(DoubleVector) vector<double>;
13}
14
15/* Let's just grab the original header file here */
16%include "example.h"
17