[libsoup/wip/tintou/uri-constructor] SoupURI: make soup_uri_new_with_base a constructor
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/tintou/uri-constructor] SoupURI: make soup_uri_new_with_base a constructor
- Date: Thu, 29 Mar 2018 21:50:34 +0000 (UTC)
commit 684b6de5e5bea5a995fe6bd004cece4432bd30d5
Author: Corentin Noël <corentin elementary io>
Date: Thu Mar 29 22:48:38 2018 +0100
SoupURI: make soup_uri_new_with_base a constructor
It is currently described as a method as it takes a SoupURI as first parameter when typically functions
foo_bar_new* are constructors.
libsoup/soup-uri.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index be778d6..caac74e 100644
--- a/libsoup/soup-uri.c
+++ b/libsoup/soup-uri.c
@@ -224,13 +224,13 @@ soup_scheme_default_port (const char *scheme)
}
/**
- * soup_uri_new_with_base:
+ * soup_uri_new_with_base: (constructor)
* @base: a base URI
* @uri_string: the URI
*
* Parses @uri_string relative to @base.
*
- * Return value: a parsed #SoupURI.
+ * Returns: a parsed #SoupURI.
**/
SoupURI *
soup_uri_new_with_base (SoupURI *base, const char *uri_string)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]