13#ifndef __AUDACITY__LV2__UTILS__
14#define __AUDACITY__LV2__UTILS__
21template<
typename Type,
void (*f)(Type*)>
25template<
typename Type,
void (*f)(Type*)>
26using Lilv_ptr = std::unique_ptr<Type, Lilv_deleter<Type, f>>;
39 return wxString::FromUTF8(lilv_node_as_string(node));
wxString LilvString(const LilvNode *node)
std::unique_ptr< Type, Lilv_deleter< Type, f > > Lilv_ptr
Generate classes of smart pointers to lv2 resources.
wxString LilvStringMove(LilvNode *node)
Lilv_ptr< LilvNode, lilv_node_free > LilvNodePtr
static void free_chars(char *p)
Lilv_ptr< char, free_chars > LilvCharsPtr
Generate deleter classes for smart pointers to lv2 resources.
void operator()(Type *p) noexcept