mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
Always derive Clone for miniobject wrappers
This commit is contained in:
parent
0b58bf5c2f
commit
26ee546d1a
1 changed files with 1 additions and 0 deletions
|
@ -493,6 +493,7 @@ impl<T: MiniObject + 'static> GlibPtrDefault for GstRc<T> {
|
|||
macro_rules! gst_define_mini_object_wrapper(
|
||||
($name:ident, $ref_name:ident, $ffi_name:path, [$($derives:ident,)*], $get_type:expr) => {
|
||||
#[derive($($derives,)*)]
|
||||
#[derive(Clone)]
|
||||
pub struct $name($crate::GstRc<$ref_name>);
|
||||
|
||||
#[repr(C)]
|
||||
|
|
Loading…
Reference in a new issue