1 | // Take a look at the license at the top of the repository in the LICENSE file. |
---|---|
2 | |
3 | use glib::translate::*; |
4 | |
5 | use crate::TracerFactory; |
6 | |
7 | impl TracerFactory { |
8 | #[doc(alias = "gst_tracer_factory_get_list")] |
9 | #[doc(alias = "get_list")] |
10 | pub fn factories() -> glib::List<TracerFactory> { |
11 | assert_initialized_main_thread!(); |
12 | unsafe { FromGlibPtrContainer::from_glib_full(ptr:ffi::gst_tracer_factory_get_list()) } |
13 | } |
14 | } |
15 |