diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-26 15:18:27 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-27 17:33:31 +0200 |
commit | 3ee1dc5fa040ef3e092f3f5cddfa8f94c2b648a1 (patch) | |
tree | 609955ea49e44601dadae231634a99123ab8fac7 /libmm-glib/mm-sms.c | |
parent | bda7b9a74a73429b9b48a259450274746ab3f44f (diff) |
libmm-glib,sms: fix get|dup_data() introspection annotations
We need to specify explicitly that the return type is an array of
guint8 elements.
Diffstat (limited to 'libmm-glib/mm-sms.c')
-rw-r--r-- | libmm-glib/mm-sms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmm-glib/mm-sms.c b/libmm-glib/mm-sms.c index a49deb88..0467b6c1 100644 --- a/libmm-glib/mm-sms.c +++ b/libmm-glib/mm-sms.c @@ -131,7 +131,7 @@ mm_sms_dup_text (MMSms *self) * * Gets the message data. * - * Returns: (transfer none): The message data, or %NULL if it doesn't contain any (e.g. contains text instead). + * Returns: (transfer none) (array length=data_len) (element-type guint8): The message data, or %NULL if it doesn't contain any (e.g. contains text instead). */ const guint8 * mm_sms_get_data (MMSms *self, @@ -158,7 +158,7 @@ mm_sms_get_data (MMSms *self, * * Gets the message data. * - * Returns: (transfer full): The message data, or %NULL if it doesn't contain any (e.g. contains text instead). The returned value should be freed with g_free(). + * Returns: (transfer full) (array length=data_len) (element-type guint8): The message data, or %NULL if it doesn't contain any (e.g. contains text instead). The returned value should be freed with g_free(). */ guint8 * mm_sms_dup_data (MMSms *self, |