diff options
author | David Robillard <d@drobilla.net> | 2019-04-14 09:52:21 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-14 11:18:00 +0200 |
commit | 1403d34fca93ee75a84347fd838506539fb20625 (patch) | |
tree | 24e6655494c3f6688d60f6cedf9ccd5dc405813c /lilv | |
parent | b788af9d049c43b274befc8424a487515d122b0b (diff) | |
download | lilv-1403d34fca93ee75a84347fd838506539fb20625.tar.gz lilv-1403d34fca93ee75a84347fd838506539fb20625.tar.bz2 lilv-1403d34fca93ee75a84347fd838506539fb20625.zip |
Add option to override LV2_PATH in applications
Diffstat (limited to 'lilv')
-rw-r--r-- | lilv/lilv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h index 52493ed..6ce93d0 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -530,11 +530,19 @@ lilv_world_new(void); #define LILV_OPTION_DYN_MANIFEST "http://drobilla.net/ns/lilv#dyn-manifest" /** + Set application-specific LV2_PATH. This overrides the LV2_PATH from the + environment, so that lilv will only look inside the given path. This can be + used to make self-contained applications. +*/ +#define LILV_OPTION_LV2_PATH "http://drobilla.net/ns/lilv#lv2-path" + +/** Set an option option for `world`. Currently recognized options: @ref LILV_OPTION_FILTER_LANG @ref LILV_OPTION_DYN_MANIFEST + @ref LILV_OPTION_LV2_PATH */ LILV_API void lilv_world_set_option(LilvWorld* world, |