nfa: standardise callback start, end naming

This commit is contained in:
Justin Viiret
2016-06-29 15:04:40 +10:00
committed by Matthew Barr
parent cf9e40ae1c
commit 9f98f4c7b2
8 changed files with 47 additions and 43 deletions

View File

@@ -33,10 +33,11 @@
#include "program_runtime.h"
int roseNfaEarliestSom(u64a from_offset, UNUSED u64a offset, UNUSED ReportID id,
int roseNfaEarliestSom(u64a start, UNUSED u64a end, UNUSED ReportID id,
void *context) {
assert(context);
u64a *som = context;
*som = MIN(*som, from_offset);
*som = MIN(*som, start);
return MO_CONTINUE_MATCHING;
}