From d0e430a690780d42213b0356a0df435351ba4e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 19 May 2020 22:24:39 +0300 Subject: [PATCH] docs: Add boolean field for readability of properties Some properties are write-only. Part-of: --- docs/gst-hotdoc-plugins-scanner.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/gst-hotdoc-plugins-scanner.c b/docs/gst-hotdoc-plugins-scanner.c index 37ffb0cb07..b47fd3a8d3 100644 --- a/docs/gst-hotdoc-plugins-scanner.c +++ b/docs/gst-hotdoc-plugins-scanner.c @@ -350,6 +350,7 @@ _add_properties (GString * json, GObject * object, GObjectClass * klass) "\"%s\": {" "\"construct-only\": %s," "\"construct\": %s," + "\"readable\": %s," "\"writable\": %s," "\"blurb\": \"%s\"," "\"type-name\": \"%s\"", @@ -357,6 +358,7 @@ _add_properties (GString * json, GObject * object, GObjectClass * klass) spec->name, spec->flags & G_PARAM_CONSTRUCT_ONLY ? "true" : "false", spec->flags & G_PARAM_CONSTRUCT ? "true" : "false", + spec->flags & G_PARAM_READABLE ? "true" : "false", spec->flags & G_PARAM_WRITABLE ? "true" : "false", tmpstr, g_type_name (G_PARAM_SPEC_VALUE_TYPE (spec))); g_free (tmpstr);