From 4f07cdec44e414b9dddc6696b8abac28f214325c Mon Sep 17 00:00:00 2001 From: 383494 <100894187+383494@users.noreply.github.com> Date: Sat, 23 Mar 2024 11:31:22 +0800 Subject: [PATCH] update typedef of enums --- 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 bfa1ab7..267f8f1 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 int32_t koopa_error_code_t; +typedef 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 uint32_t koopa_raw_slice_item_kind_t; +typedef 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 uint32_t koopa_raw_binary_op_t; +typedef koopa_raw_binary_op koopa_raw_binary_op_t; /// /// Raw binary operation.