mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 18:20:35 +03:00
have single dump function per engine
This commit is contained in:
@@ -82,13 +82,8 @@ namespace ue2 {
|
||||
assert(0); \
|
||||
}
|
||||
|
||||
void nfaDumpDot(const struct NFA *nfa, FILE *dotFile,
|
||||
const std::string &base) {
|
||||
DISPATCH_BY_NFA_TYPE(_dumpDot(nfa, dotFile, base));
|
||||
}
|
||||
|
||||
void nfaDumpText(const struct NFA *nfa, FILE *txtFile) {
|
||||
DISPATCH_BY_NFA_TYPE(_dumpText(nfa, txtFile));
|
||||
void nfaGenerateDumpFiles(const struct NFA *nfa, const std::string &base) {
|
||||
DISPATCH_BY_NFA_TYPE(_dump(nfa, base));
|
||||
}
|
||||
|
||||
} // namespace ue2
|
||||
|
||||
Reference in New Issue
Block a user