summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-09-01 14:03:52 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-09-01 16:55:00 -0300
commite0a5ca517f60b24fed19ac406300be8d103730b4 (patch)
tree91a1ccb38620a57c091cb87932ea815b3e83c52f
parent990f057b8d170509cb407f1fff3d382db6b4e9f5 (diff)
downloadshiboken-e0a5ca517f60b24fed19ac406300be8d103730b4.tar.gz
shiboken-e0a5ca517f60b24fed19ac406300be8d103730b4.tar.xz
shiboken-e0a5ca517f60b24fed19ac406300be8d103730b4.zip
Fix bug#335 - "QT_TRANSLATE_NOOP has incorrect signature"
-rw-r--r--PySide/QtCore/typesystem_core.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index f8633867..04bd5e0d 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -2418,8 +2418,11 @@
<add-function signature="QT_TR_NOOP_UTF8(const char*)" return-type="PyString*">
<inject-code class="target" position="beginning">(void)%1;%PYARG_0 = %PYARG_1;</inject-code>
</add-function>
- <add-function signature="QT_TRANSLATE_NOOP(const char*)" return-type="PyString*">
- <inject-code class="target" position="beginning">(void)%1;%PYARG_0 = %PYARG_1;</inject-code>
+ <add-function signature="QT_TRANSLATE_NOOP(const char*, const char*)" return-type="PyString*">
+ <inject-code class="target" position="beginning">(void)%1;(void)%2;%PYARG_0 = %PYARG_2;</inject-code>
+ </add-function>
+ <add-function signature="QT_TRANSLATE_NOOP3(const char*, const char*, const char*)" return-type="PyString*">
+ <inject-code class="target" position="beginning">(void)%1;(void)%2;(void)%3;%PYARG_0 = %PYARG_2;</inject-code>
</add-function>
<add-function signature="QT_TRANSLATE_NOOP_UTF8(const char*)" return-type="PyString*">
<inject-code class="target" position="beginning">(void)%1;%PYARG_0 = %PYARG_1;</inject-code>