summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-09-08 15:27:04 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-09-08 15:28:25 -0300
commit19f7b20dd0644e50762d6a571c9403a317028d06 (patch)
treeb36016c66d9498b669e6a944de815d7538610dca
parent00208f2db1b257ea9354dc30655bc94799867e9c (diff)
downloadshiboken-19f7b20dd0644e50762d6a571c9403a317028d06.tar.gz
shiboken-19f7b20dd0644e50762d6a571c9403a317028d06.tar.xz
shiboken-19f7b20dd0644e50762d6a571c9403a317028d06.zip
Declare SignalInstanceData struct in the C++ way, without ugly typedefs.
-rw-r--r--libpyside/qsignal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libpyside/qsignal.h b/libpyside/qsignal.h
index fe4d5ff0..f57ac249 100644
--- a/libpyside/qsignal.h
+++ b/libpyside/qsignal.h
@@ -42,13 +42,14 @@
namespace PySide
{
-typedef struct {
+struct SignalInstanceData
+{
PyObject_HEAD
char* signalName;
char* signature;
PyObject* source;
PyObject* next;
-} SignalInstanceData;
+};
extern "C"