Olly Betts
9a5dd880e8
Merge branch 'master' into C
2024-03-18 09:09:51 +13:00
Olly Betts
af87945aea
Clean up double spaces between words in comments
2023-05-16 09:55:49 +12:00
AndLLA
ba96783d11
enable li_boost_shared_ptr in r-test-suite
2022-10-24 18:20:10 +01:00
Vadim Zeitlin
864f32159a
Merge branch 'restore-compat-wrappers-names' into C
...
Merge with the latest master including PR #2371 .
2022-09-17 14:36:37 +02:00
Seth R Johnson
b08713f09f
Add test of null shared pointers emitted from C++
...
This tests nulls emitted as pointers and values of shared pointers,
created from null, from references, and from default constructors.
2022-02-12 19:40:03 -05:00
Vadim Zeitlin
e78c8f39ed
Add minimal shared_ptr support
...
Enable the tests and support of shared_ptr in them for C (which required
disabling a previously passing, because not doing anything, attributes
test which is currently broken for unrelated reasons).
2021-10-15 01:26:22 +02:00
William S Fulton
1a26710106
test-suite warning fixes
2016-02-21 21:36:58 +00:00
William S Fulton
c089908f07
Turn on Ruby shared_ptr testing
2015-09-25 22:58:00 +01:00
William S Fulton
ee4aa853b8
Fix 'not defined SWIGSCILAB' in testcases
2015-01-26 21:38:17 +00:00
Simon Marchetto
adc4b788df
Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
...
Conflicts:
.gitignore
.travis.yml
configure.ac
2015-01-26 10:50:20 +01:00
Jeremy
e301457a43
Attempting fixes for Octave shared_ptr support
2015-01-05 10:53:06 -05:00
Simon Marchetto
c238e9e62c
scilab: fix li_boost_shared_ptr test
2014-10-13 10:35:00 +02:00
William S Fulton
e7e542ffc9
li_boost_shared_ptr.i testcase - fix for missing %shared_ptr highlighted by new smart pointer warning 520
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-01 19:14:14 +00:00
David Nadlinger
a355d2d46a
Added special cases to the test-suite as required for D.
...
This is a part of the pending merge of the D module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-18 00:17:37 +00:00
William S Fulton
3dfac02269
shared_ptr improvements so the proxy class does not need to be specified - SWIG_SHARED_PTR macro deprecated and replaced by %shared_ptr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-22 23:57:19 +00:00
William S Fulton
12cfc251e4
Fix #2408232 . Improve shared_ptr and intrusive_ptr wrappers for classes in an inheritance hierarchy. No special treatment is needed for derived classes, the SWIG_SHARED_PTR_DERIVED macro is deprecated.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-22 22:49:47 +00:00
William S Fulton
bdb136d611
Change typemap matching rules for the default type (SWIGTYPE) to follow template partial specialization type deduction. Fixes some containers of const pointers. SWIGTYPE*& typemps removed and replaced with SWIGTYPE *const&.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-01 18:26:37 +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
d51a2f9322
fixes for languages without shared_ptr support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 20:27:42 +00:00
William S Fulton
a356382aeb
swig warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 20:24:31 +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
8c24e2ca74
Fix shared_ptr typemaps where the pointer type is a templated type with with more than one parameter.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-27 20:29:01 +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
0c55b8dad8
vc++ fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 18:18:03 +00:00
William S Fulton
f0a4145cb3
Add shared_ptr test to regular test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-14 23:07:30 +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
17d6c213ac
minor tweaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-13 21:16:12 +00:00
William S Fulton
927049cf9b
minor comment changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:42:20 +00:00
William S Fulton
54200cc7e8
shared_ptr memory leak testing. Make increment and decrement counts thread safe. Fix template test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:56:31 +00:00
William S Fulton
12919429ad
shared_ptr typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-07 00:28:11 +00:00