diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-20 18:18:34 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-20 18:33:31 -0300 |
commit | a71641d51bca4ca7ae4435f7674b7b33dab39457 (patch) | |
tree | e39f00a1e52183104bb943934605f3f6e7da29af /shibokengenerator.h | |
parent | 5ce831e73fc4b8bee7a5b62d7485eee11f498a92 (diff) |
Adds the convenience method 'isPairContainer' to ShibokenGenerator.
It checks if an AbstractMetaType represents a C++ pair container.
Also updated code to make use of the new method.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Diffstat (limited to 'shibokengenerator.h')
-rw-r--r-- | shibokengenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shibokengenerator.h b/shibokengenerator.h index 37d486596..357a40a2d 100644 --- a/shibokengenerator.h +++ b/shibokengenerator.h @@ -225,6 +225,7 @@ public: static bool isPyInt(const TypeEntry* type); static bool isPyInt(const AbstractMetaType* type); static bool isCString(const AbstractMetaType* type); + static bool isPairContainer(const AbstractMetaType* type); /// Checks if an argument type should be dereferenced by the Python method wrapper before calling the C++ method. static bool shouldDereferenceArgumentPointer(const AbstractMetaArgument* arg); |