From 090e23efe105d4ae6f8d2f3badb16743724018cf Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 18 Jan 2016 17:00:23 +0100 Subject: [PATCH] Add documentation for matrix_api_filter_get_json_data() --- src/matrix-api-types.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/matrix-api-types.c b/src/matrix-api-types.c index d0dbcd8..0ab496d 100644 --- a/src/matrix-api-types.c +++ b/src/matrix-api-types.c @@ -1583,6 +1583,15 @@ matrix_api_filter_get_json_node(MatrixAPIFilter *filter) return root; } +/** + * matrix_api_filter_get_json_data: + * @filter: a #MatrixAPIFilter + * @datalen: storage for the length of the JSON data, or %NULL + * + * Get the JSON representation of @filter as a string. + * + * Returns: (transfer full): the JSON representation of @filter + */ gchar * matrix_api_filter_get_json_data(MatrixAPIFilter *filter, gsize *datalen) {