Skip to content

Commit

Permalink
glib: Implement ToGlibContainerFromSlice for CStr and CString
Browse files Browse the repository at this point in the history
  • Loading branch information
pjungkamp committed Jan 27, 2025
1 parent 35e15b7 commit eb927c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions glib/src/translate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,10 @@ impl_to_glib_container_from_slice_string!(&'a OsStr, *mut c_char);
impl_to_glib_container_from_slice_string!(&'a OsStr, *const c_char);
impl_to_glib_container_from_slice_string!(OsString, *mut c_char);
impl_to_glib_container_from_slice_string!(OsString, *const c_char);
impl_to_glib_container_from_slice_string!(&'a CStr, *mut c_char);
impl_to_glib_container_from_slice_string!(&'a CStr, *const c_char);
impl_to_glib_container_from_slice_string!(CString, *mut c_char);
impl_to_glib_container_from_slice_string!(CString, *const c_char);
impl_to_glib_container_from_slice_string!(crate::GString, *mut c_char);
impl_to_glib_container_from_slice_string!(crate::GString, *const c_char);

Expand Down

0 comments on commit eb927c5

Please sign in to comment.