diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-01-15 12:12:21 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-01-15 20:12:25 -0300 |
commit | 4587abd19af6be7148dbe7891f909652e40a9aa2 (patch) | |
tree | 45570eece013e6984b6ad745e40cd11874c21a0a /shibokengenerator.h | |
parent | d2c94d6d62458419d54a698e67c8b123808ff09d (diff) |
Added ShibokenGenerator::shouldDereferenceAbstractMetaTypePointer method.
It checks if a meta type should be dereferenced by the Python method
wrapper passing it to C++.
ShibokenGenerator::shouldDereferenceArgumentPointer now calls the new
method.
Diffstat (limited to 'shibokengenerator.h')
-rw-r--r-- | shibokengenerator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shibokengenerator.h b/shibokengenerator.h index cc403bd5f..794f63589 100644 --- a/shibokengenerator.h +++ b/shibokengenerator.h @@ -207,9 +207,10 @@ public: static bool isNumber(const AbstractMetaType* type); static bool isPyInt(const TypeEntry* type); static bool isPyInt(const AbstractMetaType* type); - /// Checks if an argument type should be dereferenced by the Python method wrapper - /// before calling the C++ method. + /// Checks if an argument type should be dereferenced by the Python method wrapper before calling the C++ method. static bool shouldDereferenceArgumentPointer(const AbstractMetaArgument* arg); + /// Checks if a meta type should be dereferenced by the Python method wrapper passing it to C++. + static bool shouldDereferenceAbstractMetaTypePointer(const AbstractMetaType* metaType); QString cpythonBaseName(const AbstractMetaClass* metaClass); QString cpythonBaseName(const TypeEntry* type); |