Many major improvements. Almost all testsuite compiles now.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@11189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a2dc2756c8
commit
32e03aa13d
25 changed files with 1052 additions and 609 deletions
14
Examples/c/std_vector/example.i
Normal file
14
Examples/c/std_vector/example.i
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/* File : example.i */
|
||||
%module example
|
||||
%include <std_string.i>
|
||||
%include <std_vector.i>
|
||||
|
||||
%{
|
||||
#include "example.h"
|
||||
%}
|
||||
|
||||
/* Let's just grab the original header file here */
|
||||
%include "example.h"
|
||||
|
||||
%template(Vint) std::vector<int>;
|
||||
%template(VA) std::vector<A>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue