This commit is contained in:
Luca Deri
2018-05-29 22:50:18 +02:00
parent 3407db11cd
commit 6b16ad709e
3 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ typedef enum
* continue searching, otherwise it will return from ac_automata_search()
* to your calling function.
**/
typedef int (*MATCH_CALBACK_f)(AC_MATCH_t *, void *);
typedef int (*MATCH_CALBACK_f)(AC_MATCH_t *, AC_TEXT_t *, void *);
/* AC_PATTRN_MAX_LENGTH:
* Maximum acceptable pattern length in AC_PATTERN_t.length