Skip to content

Commit

Permalink
feat: add HS_FLAG_COMBINATION and HS_FLAG_QUIET (darvid#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Dec 11, 2020
1 parent 5bfc947 commit 9804a55
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/hyperscan/hyperscanmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1092,9 +1092,11 @@ MOD_INIT(_hyperscan)
ADD_INT_CONSTANT(m, HS_EXT_FLAG_MIN_OFFSET);
ADD_INT_CONSTANT(m, HS_FLAG_ALLOWEMPTY);
ADD_INT_CONSTANT(m, HS_FLAG_CASELESS);
ADD_INT_CONSTANT(m, HS_FLAG_COMBINATION);
ADD_INT_CONSTANT(m, HS_FLAG_DOTALL);
ADD_INT_CONSTANT(m, HS_FLAG_MULTILINE);
ADD_INT_CONSTANT(m, HS_FLAG_PREFILTER);
ADD_INT_CONSTANT(m, HS_FLAG_QUIET);
ADD_INT_CONSTANT(m, HS_FLAG_SINGLEMATCH);
ADD_INT_CONSTANT(m, HS_FLAG_SOM_LEFTMOST);
ADD_INT_CONSTANT(m, HS_FLAG_UCP);
Expand All @@ -1114,13 +1116,13 @@ MOD_INIT(_hyperscan)
ADD_INT_CONSTANT(m, HS_SUCCESS);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_BDW);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_GENERIC);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_GLM);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_HSW);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_IVB);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_SLM);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_SNB);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_SKL);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_SKX);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_GLM);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_SLM);
ADD_INT_CONSTANT(m, HS_TUNE_FAMILY_SNB);

HyperscanError = PyErr_NewException("hyperscan.error", NULL, NULL);
Py_INCREF(HyperscanError);
Expand Down

0 comments on commit 9804a55

Please sign in to comment.