From 65bcef5b70d7d728d86641dd3f3564ae5125f091 Mon Sep 17 00:00:00 2001 From: 383494 <100894187+383494@users.noreply.github.com> Date: Sat, 23 Mar 2024 11:48:51 +0800 Subject: [PATCH] Update koopa.h --- crates/libkoopa/include/koopa.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/libkoopa/include/koopa.h b/crates/libkoopa/include/koopa.h index 267f8f1..5449ee2 100644 --- a/crates/libkoopa/include/koopa.h +++ b/crates/libkoopa/include/koopa.h @@ -43,7 +43,7 @@ enum koopa_error_code { /// /// Type of error code. /// -typedef koopa_error_code koopa_error_code_t; +typedef enum koopa_error_code koopa_error_code_t; /// /// Raw file (file descriptor or handle). @@ -83,7 +83,7 @@ enum koopa_raw_slice_item_kind { /// /// Type of raw slice item kind. /// -typedef koopa_raw_slice_item_kind koopa_raw_slice_item_kind_t; +typedef enum koopa_raw_slice_item_kind koopa_raw_slice_item_kind_t; /// /// A raw slice that can store any kind of items. @@ -319,7 +319,7 @@ enum koopa_raw_binary_op { /// /// Type of raw binary operator. /// -typedef koopa_raw_binary_op koopa_raw_binary_op_t; +typedef enum koopa_raw_binary_op koopa_raw_binary_op_t; /// /// Raw binary operation.