summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geiger <sbastig@gmx.net>2016-01-24 18:53:59 +0100
committerSebastian Geiger <sbastig@gmx.net>2016-01-24 22:04:33 +0100
commit192781d4b5250b678c3ea6f28af878e9817f46c9 (patch)
treecb69b3e40984e6ee37f2fb8c79cbb37e577f61fc
parent8c263008bbd9c1ce221276229e548d7b15dcb0d0 (diff)
downloadglib-wip/segeiger/gregex.tar.gz
gregex: improve documentation for g_regex_newwip/segeiger/gregex
-rw-r--r--glib/gregex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/gregex.c b/glib/gregex.c
index 1c141b22b..745eb99de 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
*/