summaryrefslogtreecommitdiffstats
path: root/libpyside
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-12-03 15:55:41 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-12-03 19:35:58 -0200
commita612c9ee5809e4c2bf0b719e73a928ff912ffda2 (patch)
treec469e17b770f1b3d1b8eb954d13affcb3e9303ce /libpyside
parentafe4fcf6959d29973c4e3fb223541ed484ea93b5 (diff)
downloadpyside-a612c9ee5809e4c2bf0b719e73a928ff912ffda2.tar.gz
pyside-a612c9ee5809e4c2bf0b719e73a928ff912ffda2.tar.xz
pyside-a612c9ee5809e4c2bf0b719e73a928ff912ffda2.zip
PySidePropertyPrivate struct moved to the private header.
Diffstat (limited to 'libpyside')
-rw-r--r--libpyside/pysideproperty.cpp18
-rw-r--r--libpyside/pysideproperty_p.h23
2 files changed, 23 insertions, 18 deletions
diff --git a/libpyside/pysideproperty.cpp b/libpyside/pysideproperty.cpp
index 72b718c..dd5ca37 100644
--- a/libpyside/pysideproperty.cpp
+++ b/libpyside/pysideproperty.cpp
@@ -36,24 +36,6 @@
extern "C"
{
-struct PySidePropertyPrivate {
- char* typeName;
- PyObject* type;
- PyObject* fget;
- PyObject* fset;
- PyObject* freset;
- PyObject* fdel;
- PyObject* notify;
- char* notifySignature;
- char* doc;
- bool designable;
- bool scriptable;
- bool stored;
- bool user;
- bool constant;
- bool final;
-};
-
static int qpropertyTpInit(PyObject*, PyObject*, PyObject*);
static void qpropertyFree(void*);
diff --git a/libpyside/pysideproperty_p.h b/libpyside/pysideproperty_p.h
index 1ba9cb2..9c6893b 100644
--- a/libpyside/pysideproperty_p.h
+++ b/libpyside/pysideproperty_p.h
@@ -27,6 +27,29 @@
struct PySideProperty;
+extern "C"
+{
+
+struct PySidePropertyPrivate {
+ char* typeName;
+ PyObject* type;
+ PyObject* fget;
+ PyObject* fset;
+ PyObject* freset;
+ PyObject* fdel;
+ PyObject* notify;
+ char* notifySignature;
+ char* doc;
+ bool designable;
+ bool scriptable;
+ bool stored;
+ bool user;
+ bool constant;
+ bool final;
+};
+
+} // extern "C"
+
namespace PySide { namespace Property {
/**