Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ed90d42c34
commit
0e57357472
16 changed files with 257 additions and 63 deletions
20
SWIG/Examples/test-suite/clientdata_prop_b.i
Normal file
20
SWIG/Examples/test-suite/clientdata_prop_b.i
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/* This file tests the clientdata propagation at swig wrapper
|
||||
generation. It tests a bug in the TCL module where the
|
||||
clientdata was not propagated correctly to all classes */
|
||||
|
||||
%module clientdata_prop_b
|
||||
|
||||
%{
|
||||
#include "clientdata_prop_b.h"
|
||||
%}
|
||||
|
||||
%import "clientdata_prop_a.i"
|
||||
|
||||
%include "clientdata_prop_b.h"
|
||||
|
||||
%types(tA *);
|
||||
|
||||
%newobject new_t2A;
|
||||
%newobject new_t3A;
|
||||
%newobject new_tD;
|
||||
%newobject new_t2D;
|
||||
Loading…
Add table
Add a link
Reference in a new issue