Query a features array.
This function allows getting several features in one call, and detect missing required features, with the same caveat of lv2_features_data().
The arguments should be a series of const char* uri, void** data, bool required, terminated by a NULL URI. The data pointers MUST be initialized to NULL. For example:
LV2_URID_Log* log = NULL;
features,
NULL);
#define LV2_LOG__log
http://lv2plug.in/ns/ext/log#log
Definition log.h:28
static const char * lv2_features_query(const LV2_Feature *const *features,...)
Query a features array.
Definition lv2_util.h:66
#define LV2_URID__map
http://lv2plug.in/ns/ext/urid#map
Definition urid.h:24
URID Map Feature (LV2_URID__map)
Definition urid.h:56
- Returns
- NULL on success, otherwise the URI of this missing feature.