Skip to content

Commit 28913c8

Browse files
committed
glib: Implement glib::StrV for NULL-terminated string arrays
Also comes with a `IntoStrV` trait that allows to borrow as a `NULL`-terminated string array efficiently for various types.
1 parent 0d7f9e7 commit 28913c8

File tree

3 files changed

+1526
-1
lines changed

3 files changed

+1526
-1
lines changed

glib/src/collections/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ pub use list::List;
1111

1212
pub mod slist;
1313
pub use slist::SList;
14+
15+
pub mod strv;
16+
pub use strv::{StrV, StrVItem};

0 commit comments

Comments
 (0)