From 7e0ae094cc2b217fa7aa37516fb6e99eeb9937d0 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 12 Aug 2013 10:51:49 +0200 Subject: [PATCH] core: add comment with return value of function string_regcomp --- src/core/wee-string.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/wee-string.c b/src/core/wee-string.c index 0c95dadca..376903767 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -845,6 +845,10 @@ string_regex_flags (const char *regex, int default_flags, int *flags) /* * Compiles a regex using optional flags at beginning of string (for format of * flags in regex, see string_regex_flags()). + * + * Returns: + * 0: successful compilation + * other value: compilation failed */ int