[glib/wip/segeiger/gregex] gregex: improve documentation for g_regex_new



commit 7f722e7974dad19689e74819a17f431cd373294c
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..30f636d 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: 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]