Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/ocaml/std_vector/example.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

16 lines
362 B
C++

/* -*- C++ -*- */
/* File : example.i -- stolen from the guile std_vector example */
%module example
%{
#include "example.h"
%}
%include stl.i
/* instantiate the required template specializations */
%template(IntVector) std::vector<int>;
%template(DoubleVector) std::vector<double>;
/* Let's just grab the original header file here */
%include "example.h"