more typemaps unification and fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
036c081066
commit
aadff06f45
26 changed files with 484 additions and 74 deletions
|
|
@ -65,7 +65,7 @@ SWIG_AsArgcArgv(PyObject* input,
|
|||
}
|
||||
}
|
||||
|
||||
%typemap(freearg) (int ARGC, char **ARGV) {
|
||||
%typemap(freearg,noblock=1) (int ARGC, char **ARGV) {
|
||||
if (owner$argnum) {
|
||||
size_t i = argc$argnum;
|
||||
while (i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue