diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-22 19:07:01 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:07:23 -0300 |
commit | 8eb8daf1a850759c907e2b2b5ed43fd70af5a665 (patch) | |
tree | d3207ccbf3e3a63db0a53c02a66076b0148a09f9 /libshiboken/bindingmanager.h | |
parent | 498a649e565711a208f2efe793d4cba2374ea1dd (diff) |
Added BindingManager::getAllPyObjects method.
This functions returns all PyObjects under the umbrella of BindingManager.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'libshiboken/bindingmanager.h')
-rw-r--r-- | libshiboken/bindingmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libshiboken/bindingmanager.h b/libshiboken/bindingmanager.h index cec4a78ff..d7cec27b9 100644 --- a/libshiboken/bindingmanager.h +++ b/libshiboken/bindingmanager.h @@ -24,6 +24,7 @@ #define BINDINGMANAGER_H #include <Python.h> +#include <set> #include "shibokenmacros.h" namespace Shiboken @@ -61,6 +62,7 @@ public: /// Called by wrapper destructor void destroyWrapper(const void* cptr); void destroyWrapper(SbkBaseWrapper* wrapper); + std::set<PyObject*> getAllPyObjects(); private: ~BindingManager(); // disable copy |