Fix for bug 3447426: memory leak in vector.__getitem__
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9dda4dd3fd
commit
bdc9b61dc2
2 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
Version 2.0.5 (in progress)
|
Version 2.0.5 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
2011-12-01: szager
|
||||||
|
[python] Fixed bug 3447426: memory leak in vector.__getitem__.
|
||||||
|
|
||||||
2011-11-30: wsfulton
|
2011-11-30: wsfulton
|
||||||
[R] Remove C++ comments from generated C code.
|
[R] Remove C++ comments from generated C code.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -608,6 +608,7 @@ namespace swig
|
||||||
%define %swig_container_methods(Container...)
|
%define %swig_container_methods(Container...)
|
||||||
|
|
||||||
%newobject __getslice__;
|
%newobject __getslice__;
|
||||||
|
%newobject __getitem__(PySliceObject *slice);
|
||||||
|
|
||||||
#if defined(SWIGPYTHON_BUILTIN)
|
#if defined(SWIGPYTHON_BUILTIN)
|
||||||
%feature("python:slot", "nb_nonzero", functype="inquiry") __nonzero__;
|
%feature("python:slot", "nb_nonzero", functype="inquiry") __nonzero__;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue