[glib/glib-2-56: 12/17] gvariant: Clarify internal documentation about GVariant type strings
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-56: 12/17] gvariant: Clarify internal documentation about GVariant type strings
- Date: Tue, 6 Nov 2018 13:13:10 +0000 (UTC)
commit 2eded09ba3541613ae6b81bc427f465daa380e7c
Author: Philip Withnall <withnall endlessm com>
Date: Tue Sep 18 15:21:51 2018 +0100
gvariant: Clarify internal documentation about GVariant type strings
Signed-off-by: Philip Withnall <withnall endlessm com>
glib/gvariant-serialiser.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/glib/gvariant-serialiser.c b/glib/gvariant-serialiser.c
index bbdcc7a0c..ccf96b4aa 100644
--- a/glib/gvariant-serialiser.c
+++ b/glib/gvariant-serialiser.c
@@ -1717,7 +1717,9 @@ g_variant_serialiser_is_object_path (gconstpointer data,
* Performs the checks for being a valid string.
*
* Also, ensures that @data is a valid D-Bus type signature, as per the
- * D-Bus specification.
+ * D-Bus specification. Note that this means the empty string is valid, as the
+ * D-Bus specification defines a signature as “zero or more single complete
+ * typesâ€.
*/
gboolean
g_variant_serialiser_is_signature (gconstpointer data,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]