summaryrefslogtreecommitdiffhomepage
path: root/src/rust/unit-wasm-sys/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/unit-wasm-sys/macros.rs')
-rw-r--r--src/rust/unit-wasm-sys/macros.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rust/unit-wasm-sys/macros.rs b/src/rust/unit-wasm-sys/macros.rs
index 5914ad9..080d702 100644
--- a/src/rust/unit-wasm-sys/macros.rs
+++ b/src/rust/unit-wasm-sys/macros.rs
@@ -14,7 +14,7 @@ pub const LUW_VERSION_NUMBER: i32 =
(LUW_VERSION_MINOR << 16) |
(LUW_VERSION_PATCH << 8);
-pub const LUW_SRB_NONE: u32 = luw_srb_flags_t_LUW_SRB_NONE;
-pub const LUW_SRB_APPEND: u32 = luw_srb_flags_t_LUW_SRB_APPEND;
-pub const LUW_SRB_ALLOC: u32 = luw_srb_flags_t_LUW_SRB_ALLOC;
-pub const LUW_SRB_FULL_SIZE: u32 = luw_srb_flags_t_LUW_SRB_FLAGS_ALL;
+pub const LUW_SRB_NONE: u32 = luw_srb_flags_t::LUW_SRB_NONE as u32;
+pub const LUW_SRB_APPEND: u32 = luw_srb_flags_t::LUW_SRB_APPEND as u32;
+pub const LUW_SRB_ALLOC: u32 = luw_srb_flags_t::LUW_SRB_ALLOC as u32;
+pub const LUW_SRB_FULL_SIZE: u32 = luw_srb_flags_t::LUW_SRB_FLAGS_ALL as u32;