diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-15 23:40:18 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-18 09:22:50 -0300 |
commit | d20e2dd6a0212b2d8a89cbdc9dc99faabb61bd0c (patch) | |
tree | 1a722b61cd7c988a00dd826a52dde7592a7bf94d /shibokengenerator.h | |
parent | 1081714f5275261420a74ac333a117fd2bbca0c4 (diff) |
Classes that have multiple inheritance in some point of its ancestry
now receive the multiple inheritance information, the initialization
function will be that of the first ancestor that have multiple
inheritance.
Example:
class MDerived : public Base1, public Base2
clas SonOfMDerived : public MDerived
MDerived defines the function PyMDerived_mi_init to register the
multiple inheritance information, and SonOfMDerived just uses the
ancestor function.
Diffstat (limited to 'shibokengenerator.h')
-rw-r--r-- | shibokengenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shibokengenerator.h b/shibokengenerator.h index 7fdfc8912..dd1d521d5 100644 --- a/shibokengenerator.h +++ b/shibokengenerator.h @@ -156,6 +156,8 @@ public: bool hasInjectedCodeOrSignatureModification(const AbstractMetaFunction* func); QStringList getBaseClasses(const AbstractMetaClass* metaClass); + const AbstractMetaClass* getMultipleInheritingClass(const AbstractMetaClass* metaClass); + void writeBaseConversion(QTextStream& s, const AbstractMetaType* type, const AbstractMetaClass* context); /// Simpler version of writeBaseConversion, uses only the base name of the type. |