[librest/wip/baedert/tests] RestProxyCall: Document _add_param_full



commit f7326537e6ebf8c52853edaefc8e99dd2e76ce3b
Author: Timm Bäder <mail baedert org>
Date:   Fri Sep 30 21:12:24 2016 +0200

    RestProxyCall: Document _add_param_full
    
    Make sure the param is (transfer full)

 rest/rest-proxy-call.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index 568c334..a621ba4 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -420,6 +420,13 @@ rest_proxy_call_add_param (RestProxyCall *call,
   rest_params_add (priv->params, param);
 }
 
+/**
+ * rest_proxy_call_add_param_full:
+ * @call: The #RestProxyCall
+ * @param: (transfer full): The parameter to add
+ *
+ * Add a query parameter @param to this call.
+ */
 void
 rest_proxy_call_add_param_full (RestProxyCall *call, RestParam *param)
 {
@@ -482,7 +489,7 @@ rest_proxy_call_add_params_from_valist (RestProxyCall *call,
  * Get the value of the parameter called @name.
  *
  * Returns: (transfer none) (nullable): The parameter value,
- *   or %NULL if it does not exist. This string is
+ *   or %NULL if it does not exist. This memory is
  *   owned by the #RestProxyCall and should not be freed.
  */
 RestParam *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]