add iadd and constants tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
29e402fedf
commit
728bb9282e
3 changed files with 21 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ swigobject.py
|
||||||
template_matrix.py
|
template_matrix.py
|
||||||
virtual_derivation.py
|
virtual_derivation.py
|
||||||
simutry.py
|
simutry.py
|
||||||
|
singleton.py
|
||||||
abstract_access.py
|
abstract_access.py
|
||||||
abstract_inherit.py
|
abstract_inherit.py
|
||||||
abstract_inherit_ok.py
|
abstract_inherit_ok.py
|
||||||
|
|
@ -349,6 +350,7 @@ std_containers_runme.py
|
||||||
swigobject_runme.py
|
swigobject_runme.py
|
||||||
template_matrix_runme.py
|
template_matrix_runme.py
|
||||||
virtual_derivation_runme.py
|
virtual_derivation_runme.py
|
||||||
|
singleton_runme.py
|
||||||
abstract_access_runme.py
|
abstract_access_runme.py
|
||||||
abstract_typedef_runme.py
|
abstract_typedef_runme.py
|
||||||
abstract_typedef2_runme.py
|
abstract_typedef2_runme.py
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ CPP_TEST_CASES += \
|
||||||
director_thread \
|
director_thread \
|
||||||
director_wstring \
|
director_wstring \
|
||||||
file_test \
|
file_test \
|
||||||
|
iadd \
|
||||||
inout \
|
inout \
|
||||||
input \
|
input \
|
||||||
inplaceadd \
|
inplaceadd \
|
||||||
|
|
@ -38,7 +39,8 @@ CPP_TEST_CASES += \
|
||||||
std_containers \
|
std_containers \
|
||||||
swigobject \
|
swigobject \
|
||||||
template_matrix \
|
template_matrix \
|
||||||
simutry
|
simutry
|
||||||
|
|
||||||
|
|
||||||
C_TEST_CASES += \
|
C_TEST_CASES += \
|
||||||
file_test \
|
file_test \
|
||||||
|
|
|
||||||
16
SWIG/Examples/test-suite/python/constants.i
Normal file
16
SWIG/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