pub fn api(
        func_name: impl Into<ReaperStringArg<'a>>,
        func: *mut c_void,
    ) -> RegistrationObject<'a> {
        RegistrationObject::Api(func_name.into().into_inner(), func)
    }
/// Convenience function for creating an [`Api`] registration object.
///
/// [`Api`]: #variant.Api
Convenience function for creating an [`Api`] registration object.
Convenience function for creating an [ ` Api ` ] registration object .
pub fn api(
        func_name: impl Into<ReaperStringArg<'a>>,
        func: *mut c_void,
    ) -> RegistrationObject<'a> {
        RegistrationObject::Api(func_name.into().into_inner(), func)
    }
pub fn api ( func_name : impl Into < ReaperStringArg < ' a > > , func : * mut c_void , ) -> RegistrationObject < ' a > { RegistrationObject :: Api ( func_name . into ( ) . into_inner ( ) , func ) }
Convenience function for creating an [`Api`] registration object.
Convenience function for creating an [ ` Api ` ] registration object .
func_name
impl Into<ReaperStringArg<'a>>
func
*mut c_void
func_name
impl Into<ReaperStringArg<'a>>
func
*mut c_void