Initial commit
[platform/upstream/glib2.0.git] / glib / update-pcre / pcre_valid_utf8.c
1 #include "config.h"
2 #include "pcre_internal.h"
3
4 /*
5  * This function is not needed by GRegex, so print an error and
6  * return always -1, that is the string is a valid UTF-8 encoded
7  * string.
8  */
9 int
10 _pcre_valid_utf8(const uschar *string, int length)
11 {
12 g_warning ("%s: this function should not be called", G_STRLOC);
13 return -1;
14 }