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:
parent
bdec822db6
commit
becbb0cc81
3 changed files with 3564 additions and 1 deletions
|
|
@ -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*>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue