mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +00:00
Mark Segment as #[repr(C)]
This commit is contained in:
parent
b9c4e4cd6e
commit
9608ef52ec
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ use std::fmt;
|
|||
use std::marker::PhantomData;
|
||||
|
||||
pub type Segment = FormattedSegment<GenericFormattedValue>;
|
||||
#[repr(C)]
|
||||
pub struct FormattedSegment<T: FormattedValue>(ffi::GstSegment, PhantomData<T>);
|
||||
|
||||
impl Segment {
|
||||
|
|
Loading…
Reference in a new issue