Commit 26ee546d authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Always derive Clone for miniobject wrappers

parent 0b58bf5c
......@@ -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)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment