diff options
author | Niels De Graef <niels.degraef@barco.com> | 2020-01-07 11:58:06 +0100 |
---|---|---|
committer | Niels De Graef <niels.degraef@barco.com> | 2020-01-07 11:58:06 +0100 |
commit | 725cfc3410b66bd749183b6e9e9b6a8bb0c63d0f (patch) | |
tree | 1b739c45ba5eaa5878852cf2e0f14cc70c87c4a7 /json-glib/json-serializable.c | |
parent | 4188c7574d25e4be2d30789b1465708813dbe6fb (diff) | |
download | json-glib-725cfc3410b66bd749183b6e9e9b6a8bb0c63d0f.tar.gz |
serializable: Add (nullable) annotation
`json_serializable_serialize_property()` can return NULL, so make that
clear in the documentation (and to GIR).
Diffstat (limited to 'json-glib/json-serializable.c')
-rw-r--r-- | json-glib/json-serializable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/json-glib/json-serializable.c b/json-glib/json-serializable.c index d7a76d6..eb7556d 100644 --- a/json-glib/json-serializable.c +++ b/json-glib/json-serializable.c @@ -199,8 +199,8 @@ G_DEFINE_INTERFACE (JsonSerializable, json_serializable, G_TYPE_OBJECT); * pspec); * ]| * - * Return value: (transfer full): a #JsonNode containing the serialized - * property + * Return value: (transfer full) (nullable): a #JsonNode containing the + * serialized property, or %NULL if it should be omitted. * * Since: 0.10 */ |