Use correct type for anchored matcher build

This commit is contained in:
Justin Viiret
2016-01-14 09:53:15 +11:00
committed by Matthew Barr
parent e63fcec3c7
commit d7c8ffc7fd
3 changed files with 18 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Intel Corporation
* Copyright (c) 2015-2016, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -38,6 +38,7 @@
#include <vector>
#include <set>
struct anchored_matcher_info;
struct RoseEngine;
namespace ue2 {
@@ -46,9 +47,10 @@ class NGHolder;
class RoseBuildImpl;
struct Grey;
aligned_unique_ptr<void> buildAnchoredAutomataMatcher(RoseBuildImpl &tbi,
size_t *asize);
u32 anchoredStateSize(const void *atable);
aligned_unique_ptr<anchored_matcher_info>
buildAnchoredAutomataMatcher(RoseBuildImpl &build, size_t *asize);
u32 anchoredStateSize(const anchored_matcher_info *atable);
bool anchoredIsMulti(const RoseEngine &engine);
#define ANCHORED_FAIL 0