[glib/wip/segeiger/gregex: 10/10] gregex: improve documentation for g_regex_new
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/segeiger/gregex: 10/10] gregex: improve documentation for g_regex_new
- Date: Sun, 24 Jan 2016 21:04:57 +0000 (UTC)
commit 192781d4b5250b678c3ea6f28af878e9817f46c9
Author: Sebastian Geiger <sbastig gmx net>
Date: Sun Jan 24 18:53:59 2016 +0100
gregex: improve documentation for g_regex_new
glib/gregex.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gregex.c b/glib/gregex.c
index 1c141b2..745eb99 100644
--- a/glib/gregex.c
+++ b/glib/gregex.c
@@ -1286,8 +1286,8 @@ static pcre *regex_compile (const gchar *pattern,
* Compiles the regular expression to an internal form, and does
* the initial setup of the #GRegex structure.
*
- * Returns: a #GRegex structure. Call g_regex_unref() when you
- * are done with it
+ * Returns: (nullable): a #GRegex structure or %NULL if an error occured. Call
+ * g_regex_unref() when you are done with it
*
* Since: 2.14
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]