From f2383946d9e52f61844a9f6e3ec679c99f697e04 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 8 Feb 2014 04:50:58 +0100 Subject: Added get_substring to the libpcre interface Signed-off-by: Haru --- src/map/npc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/npc.h') diff --git a/src/map/npc.h b/src/map/npc.h index 719974ac4..346a9f8c0 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -336,6 +336,7 @@ struct pcre_interface { int (*copy_substring) (const char *subject, int *ovector, int stringcount, int stringnumber, char *buffer, int buffersize); void (*free_substring) (const char *stringptr); int (*copy_named_substring) (const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, char *buffer, int buffersize); + int (*get_substring) (const char *subject, int *ovector, int stringcount, int stringnumber, const char **stringptr); }; struct pcre_interface *libpcre; -- cgit v1.2.3-60-g2f50