aboutsummaryrefslogtreecommitdiffstats
path: root/generator/shibokengenerator.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-04-11 16:30:35 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:15:20 -0300
commit68dde475dd98b191a6bd3d6151cb7ab5f6410242 (patch)
treee9317023e0b41804efba6c273450dd0929af94a5 /generator/shibokengenerator.cpp
parente6a322e777ab36bbed430a8836e0f656de49963d (diff)
Fix bug 823 - "Shiboken doesn't support function call overloads"
Diffstat (limited to 'generator/shibokengenerator.cpp')
-rw-r--r--generator/shibokengenerator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/shibokengenerator.cpp b/generator/shibokengenerator.cpp
index 9546da775..fd814dfe2 100644
--- a/generator/shibokengenerator.cpp
+++ b/generator/shibokengenerator.cpp
@@ -118,6 +118,9 @@ void ShibokenGenerator::initPrimitiveTypesCorrespondences()
// Python operators
m_pythonOperators.clear();
+ // call operator
+ m_pythonOperators["operator()"] = "call";
+
// Arithmetic operators
m_pythonOperators["operator+"] = "add";
m_pythonOperators["operator-"] = "sub";