aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/class_property.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-09-18 11:05:57 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-09-20 13:44:47 +0200
commitd249f2922bcbbca0169faabc5108db5999adaf54 (patch)
tree34f68c9073d159d825687be32c65a3485faa1aeb /sources/pyside6/libpyside/class_property.h
parentb8f5e535dab255af228830c6d548ce730a7603d5 (diff)
Replace typedef by using
Pick-to: 6.6 6.5 Change-Id: I23d8ea03ec578a897352c2627417a706ca71ef82 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/libpyside/class_property.h')
-rw-r--r--sources/pyside6/libpyside/class_property.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/libpyside/class_property.h b/sources/pyside6/libpyside/class_property.h
index e34afe669..a3125b169 100644
--- a/sources/pyside6/libpyside/class_property.h
+++ b/sources/pyside6/libpyside/class_property.h
@@ -9,7 +9,7 @@
extern "C" {
-typedef struct {
+struct propertyobject {
PyObject_HEAD
PyObject *prop_get;
PyObject *prop_set;
@@ -21,7 +21,7 @@ typedef struct {
PyObject *prop_name;
#endif
int getter_doc;
-} propertyobject;
+};
PYSIDE_API PyTypeObject *PyClassProperty_TypeF();