diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 2f66cd44..e11841e7 100644 --- a/src/common.h +++ b/src/common.h @@ -81,6 +81,15 @@ typedef enum WabtResult { #define WABT_SUCCEEDED(x) ((x) == WABT_OK) #define WABT_FAILED(x) ((x) == WABT_ERROR) +typedef enum WabtLabelType { + WABT_LABEL_TYPE_FUNC, + WABT_LABEL_TYPE_BLOCK, + WABT_LABEL_TYPE_LOOP, + WABT_LABEL_TYPE_IF, + WABT_LABEL_TYPE_ELSE, + WABT_NUM_LABEL_TYPES, +} WabtLabelType; + typedef struct WabtStringSlice { const char* start; size_t length; |