mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 18:44:24 +03:00
rose_build_anchored: take ref, not pointer
This commit is contained in:
committed by
Matthew Barr
parent
69682ed263
commit
1c2fca8840
@@ -50,13 +50,13 @@ struct Grey;
|
||||
aligned_unique_ptr<anchored_matcher_info>
|
||||
buildAnchoredAutomataMatcher(RoseBuildImpl &build, size_t *asize);
|
||||
|
||||
u32 anchoredStateSize(const anchored_matcher_info *atable);
|
||||
u32 anchoredStateSize(const anchored_matcher_info &atable);
|
||||
|
||||
/**
|
||||
* \brief True if there is an anchored matcher and it consists of multiple
|
||||
* DFAs.
|
||||
*/
|
||||
bool anchoredIsMulti(const anchored_matcher_info *atable);
|
||||
bool anchoredIsMulti(const anchored_matcher_info &atable);
|
||||
|
||||
#define ANCHORED_FAIL 0
|
||||
#define ANCHORED_SUCCESS 1
|
||||
|
||||
Reference in New Issue
Block a user