diff options
author | David Robillard <d@drobilla.net> | 2015-03-07 08:42:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-03-07 08:42:56 +0000 |
commit | 1b420b15b3c88ebbcd6789f78b69bd284e0a98f7 (patch) | |
tree | 2871ea66f0651b2a43ff98c6f107e1654ee3aeed /src/lilv_internal.h | |
parent | cd320a7ccd392a5da2df31ec5edc9b07db5befab (diff) | |
download | lilv-1b420b15b3c88ebbcd6789f78b69bd284e0a98f7.tar.gz lilv-1b420b15b3c88ebbcd6789f78b69bd284e0a98f7.tar.bz2 lilv-1b420b15b3c88ebbcd6789f78b69bd284e0a98f7.zip |
Add support for state deletion.
Add lilv_node_get_path().
Add lilv_state_get_uri().
Add lilv_state_delete().
Fix creation of duplicate manifest entries when saving state.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5617 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/lilv_internal.h')
-rw-r--r-- | src/lilv_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h index 2d3fb23..cd4a621 100644 --- a/src/lilv_internal.h +++ b/src/lilv_internal.h @@ -30,6 +30,8 @@ extern "C" { # include <windows.h> # define dlopen(path, flags) LoadLibrary(path) # define dlclose(lib) FreeLibrary((HMODULE)lib) +# define unlink(path) _unlink(path) +# define rmdir(path) _rmdir(path) # ifdef _MSC_VER # define __func__ __FUNCTION__ # define INFINITY DBL_MAX + DBL_MAX @@ -39,6 +41,7 @@ extern "C" { static inline char* dlerror(void) { return "Unknown error"; } #else # include <dlfcn.h> +# include <unistd.h> #endif #include "serd/serd.h" @@ -273,6 +276,8 @@ LilvScalePoints* lilv_scale_points_new(void); LilvPluginClasses* lilv_plugin_classes_new(void); LilvUIs* lilv_uis_new(void); +LilvNode* lilv_world_get_manifest_uri(LilvWorld* world, LilvNode* bundle_uri); + const uint8_t* lilv_world_blank_node_prefix(LilvWorld* world); SerdStatus lilv_world_load_file(LilvWorld* world, |