diff options
author | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2010-12-14 15:19:37 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:12:49 -0300 |
commit | cf6c0ca50f29c6e606b7c27fbceb8d1d6faf3f14 (patch) | |
tree | 44b60c3183824f448cc22110b7aafff52818339f /libshiboken/basewrapper.h | |
parent | a0fa4f1d94f86362e8adef0171c9f4dc966fa402 (diff) |
Fix object destruction process to avoid pass a invalid object during the
__del__ function.
Fix bug #505
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'libshiboken/basewrapper.h')
-rw-r--r-- | libshiboken/basewrapper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h index 46bc641d9..99e354745 100644 --- a/libshiboken/basewrapper.h +++ b/libshiboken/basewrapper.h @@ -294,6 +294,7 @@ LIBSHIBOKEN_API void makeValid(SbkObject* self); * Destroy any data in Shiboken structure and c++ pointer if the pyboject has the ownership **/ LIBSHIBOKEN_API void destroy(SbkObject* self); +LIBSHIBOKEN_API void destroy(SbkObject* self, void* cppData); /** * Set user data on type of \p wrapper. |