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.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rust/unit-wasm-sys/macros.rs b/src/rust/unit-wasm-sys/macros.rs
index d7fde22..059fef3 100644
--- a/src/rust/unit-wasm-sys/macros.rs
+++ b/src/rust/unit-wasm-sys/macros.rs
@@ -13,3 +13,8 @@ pub const LUW_VERSION_NUMBER: i32 =
(LUW_VERSION_MAJOR << 24) |
(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;