Reduction types are now generated with acc instead of being explicitly declared in astaroth.h

This commit is contained in:
jpekkila
2020-06-28 18:16:19 +03:00
parent 852fae17cf
commit d0ca1f8195
2 changed files with 10 additions and 10 deletions

View File

@@ -50,6 +50,8 @@ typedef struct {
typedef enum { AC_SUCCESS = 0, AC_FAILURE = 1 } AcResult;
/*
// Deprecated, defined during code generation
typedef enum {
RTYPE_MAX,
RTYPE_MIN,
@@ -58,6 +60,7 @@ typedef enum {
RTYPE_SUM,
NUM_REDUCTION_TYPES
} ReductionType;
*/
#define AC_GEN_ID(X) X,
typedef enum {