summaryrefslogtreecommitdiffstats
path: root/overloaddata.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-16 11:31:21 -0200
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-11-16 17:26:04 -0300
commit38083ce45cdd4e67b7e59070605c957973ecc250 (patch)
tree1e57f2534688ad8cce96a1651a93f5dc2f31d3f0 /overloaddata.h
parentd2b0d52b53d31ca4b026a1982bb322fcb58a73cd (diff)
downloadshiboken-38083ce45cdd4e67b7e59070605c957973ecc250.tar.gz
shiboken-38083ce45cdd4e67b7e59070605c957973ecc250.tar.xz
shiboken-38083ce45cdd4e67b7e59070605c957973ecc250.zip
OverloadData does not ignore arguments which modify types.
Diffstat (limited to 'overloaddata.h')
-rw-r--r--overloaddata.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/overloaddata.h b/overloaddata.h
index 373dba25..9d720dba 100644
--- a/overloaddata.h
+++ b/overloaddata.h
@@ -37,6 +37,7 @@ class OverloadData
{
public:
OverloadData(const AbstractMetaFunctionList overloads, const ShibokenGenerator* generator);
+ ~OverloadData();
int minArgs() const { return m_headOverloadData->m_minArgs; }
int maxArgs() const { return m_headOverloadData->m_maxArgs; }
@@ -65,7 +66,8 @@ public:
void dumpGraph(QString filename) const;
QString dumpGraph() const;
- ~OverloadData();
+ bool hasArgumentTypeReplace() const;
+ QString argumentTypeReplaced() const;
private:
OverloadData(OverloadData* headOverloadData, const AbstractMetaFunction* func,
@@ -83,6 +85,7 @@ private:
int m_maxArgs;
int m_argPos;
const AbstractMetaType* m_argType;
+ QString m_argTypeReplaced;
QList<const AbstractMetaFunction*> m_overloads;
OverloadData* m_headOverloadData;