test and update the weave example

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-04 15:55:19 +00:00
commit becbb0cc81
3 changed files with 3564 additions and 1 deletions

View file

@ -18,3 +18,8 @@ information on Weave may be had from here:
As of November 22, 2004, this example only works with weave from CVS.
If there is a more recent release of SciPy after this date, it should
work fine.
Also, you need to replace the weave file swigptr2.py by the one
provided here.

View file

@ -1,5 +1,4 @@
%module(directors="1") example
%feature("director");
%{
#include "example.h"
@ -7,7 +6,10 @@
%include "std_vector.i"
%director Foo;
%director Bar;
%include "example.h"
%template(VectorBar) std::vector<Bar*>;
%template(VectorFoo) std::vector<Foo*>;

File diff suppressed because it is too large Load diff