add iadd and constants tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
757c27826a
commit
bd5892b0f4
3 changed files with 21 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ swigobject.py
|
|||
template_matrix.py
|
||||
virtual_derivation.py
|
||||
simutry.py
|
||||
singleton.py
|
||||
abstract_access.py
|
||||
abstract_inherit.py
|
||||
abstract_inherit_ok.py
|
||||
|
|
@ -349,6 +350,7 @@ std_containers_runme.py
|
|||
swigobject_runme.py
|
||||
template_matrix_runme.py
|
||||
virtual_derivation_runme.py
|
||||
singleton_runme.py
|
||||
abstract_access_runme.py
|
||||
abstract_typedef_runme.py
|
||||
abstract_typedef2_runme.py
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ CPP_TEST_CASES += \
|
|||
director_thread \
|
||||
director_wstring \
|
||||
file_test \
|
||||
iadd \
|
||||
inout \
|
||||
input \
|
||||
inplaceadd \
|
||||
|
|
@ -38,7 +39,8 @@ CPP_TEST_CASES += \
|
|||
std_containers \
|
||||
swigobject \
|
||||
template_matrix \
|
||||
simutry
|
||||
simutry
|
||||
|
||||
|
||||
C_TEST_CASES += \
|
||||
file_test \
|
||||
|
|
|
|||
16
Examples/test-suite/python/constants.i
Normal file
16
Examples/test-suite/python/constants.i
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
%module constants
|
||||
|
||||
|
||||
%inline %{
|
||||
|
||||
struct A {
|
||||
A(double) { }
|
||||
|
||||
};
|
||||
|
||||
const A b123(3.0);
|
||||
|
||||
%}
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue