Added needed files.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Art Yerkes 2003-02-16 07:37:15 +00:00
commit 3a6a6d6a70
4 changed files with 104 additions and 0 deletions

View file

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