diff --git a/src/hyperscan/hyperscanmodule.c b/src/hyperscan/hyperscanmodule.c index 9d76b4a..07c2602 100644 --- a/src/hyperscan/hyperscanmodule.c +++ b/src/hyperscan/hyperscanmodule.c @@ -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); @@ -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);