William S Fulton
|
d4ffa46f41
|
Convert python tests using 2to3
These tests were converted using 2to3 and should be valid using
Python 2.7 and Python 3+.
|
2020-08-15 00:16:04 +01:00 |
|
William S Fulton
|
4c2da8184b
|
li_boost_shared_ptr tests cleanup
Remove some cruft
|
2015-09-25 23:14:34 +01:00 |
|
Jon Schlueter
|
b77f3afafb
|
autopep8 cleanup of Examples/test-suite/python
automated cleanup of python pep8 whitespace compliance
|
2015-05-08 21:35:52 -04:00 |
|
William S Fulton
|
76bcec1d87
|
Test-suite fixes for python -classic
These are mostly workarounds for static class members not being supported for
old style classes, as documented in Python.html, "C++ classes".
|
2015-01-31 15:04:35 +00:00 |
|
William S Fulton
|
91ba340a79
|
add test for inheritance of 3 classes deep which exposes a problem in the python shared_ptr wrappers. Manually added the %types for now.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2008-12-06 17:10:53 +00:00 |
|
William S Fulton
|
a37115f55d
|
Correct test for global shared_ptr variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2008-04-04 23:26:54 +00:00 |
|
William S Fulton
|
1a560e3866
|
global variables test and shared_ptr varin/varout typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2008-02-29 23:23:35 +00:00 |
|
William S Fulton
|
9b7042280c
|
Add member variable support for shared_ptr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2008-02-14 22:53:11 +00:00 |
|
William S Fulton
|
444f643c4e
|
Add shared_ptr typecheck typemaps for Python and add overloaded method tests for shared_ptr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2008-02-13 23:10:58 +00:00 |
|
William S Fulton
|
a85143fe7d
|
further testing of shared_ptr and derived classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2008-02-09 12:14:31 +00:00 |
|
William S Fulton
|
ae42706190
|
Experimental boost::shared_ptr support - incomplete.
The swigregister methods need hacking to work. Modify Examples/Makefile from:
$(SWIG) -c++ -python $(SWIGOPT) $(INTERFACE)
to
$(SWIG) -c++ -python $(SWIGOPT) $(INTERFACE)
mv $(ICXXSRCS) $(ICXXSRCS).tmp
echo "sed hacked filename: " $(ICXXSRCS)
cat $(ICXXSRCS).tmp | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_Space__Klass,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTSpace__Klass_t,/' | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_Space__KlassDerived,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTSpace__KlassDerived_t,/' | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_BaseTint_double_t,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTBaseTint_double_t_t,/' | \
sed -e 's/SWIG_TypeNewClientData(SWIGTYPE_p_PairTint_double_t,/SWIG_TypeNewClientData(SWIGTYPE_p_SwigBoost__shared_ptrTPairTint_double_t_t,/' \
> $(ICXXSRCS)
rm $(ICXXSRCS).tmp
to do this automatically
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2008-01-13 22:28:42 +00:00 |
|