From 14bce9f885ecfb4a0309a7aa398db033f1cc542e Mon Sep 17 00:00:00 2001 From: Tobias Deiminger Date: Tue, 16 Apr 2024 22:06:31 +0200 Subject: Add BufferId as Rust type Up to now it was represented as i32. If we introduce a newtype for it, we can handle it idiomatically as dedicated Variant::BufferId variant (instead of having it mashed into Variant::UserType). --- src/primitive/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/primitive/mod.rs') diff --git a/src/primitive/mod.rs b/src/primitive/mod.rs index dbc4a58..67bb2ac 100644 --- a/src/primitive/mod.rs +++ b/src/primitive/mod.rs @@ -1,3 +1,4 @@ +mod bufferid; mod bufferinfo; mod datetime; mod message; @@ -10,6 +11,7 @@ mod variant; mod variantlist; mod variantmap; +pub use bufferid::*; pub use bufferinfo::*; pub use datetime::*; pub use message::*; -- cgit v1.2.3