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
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