mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-17 01:41:51 +03:00
nfa: unify NfaCallback and SomNfaCallback
Use just one callback type, with both start and end offsets.
This commit is contained in:
committed by
Matthew Barr
parent
9087d59be5
commit
cf9e40ae1c
@@ -809,10 +809,8 @@ char JOIN(LIMEX_API_ROOT, _QR)(const struct NFA *n, struct mq *q,
|
||||
}
|
||||
|
||||
char JOIN(LIMEX_API_ROOT, _testEOD)(const struct NFA *n, const char *state,
|
||||
const char *streamState, u64a offset,
|
||||
NfaCallback callback,
|
||||
UNUSED SomNfaCallback som_callback,
|
||||
void *context) {
|
||||
const char *streamState, u64a offset,
|
||||
NfaCallback callback, void *context) {
|
||||
assert(n && state);
|
||||
|
||||
const IMPL_NFA_T *limex = getImplNfa(n);
|
||||
|
||||
Reference in New Issue
Block a user