diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/lilv/lilv.h | 15 | ||||
-rw-r--r-- | include/lilv/lilvmm.hpp | 7 |
2 files changed, 0 insertions, 22 deletions
diff --git a/include/lilv/lilv.h b/include/lilv/lilv.h index c557946..1e5f7a0 100644 --- a/include/lilv/lilv.h +++ b/include/lilv/lilv.h @@ -105,21 +105,6 @@ lilv_free(void* ptr); /** Convert a file URI string to a local path string. - For example, "file://foo/bar/baz.ttl" returns "/foo/bar/baz.ttl". - Return value is shared and must not be deleted by caller. - This function does not handle escaping correctly and should not be used for - general file URIs. Use lilv_file_uri_parse() instead. - - @return `uri` converted to a path, or NULL on failure (URI is not local). -*/ -LILV_API -LILV_DEPRECATED -const char* -lilv_uri_to_path(const char* uri); - -/** - Convert a file URI string to a local path string. - For example, "file://foo/bar%20one/baz.ttl" returns "/foo/bar one/baz.ttl". Return value must be freed by caller with lilv_free(). diff --git a/include/lilv/lilvmm.hpp b/include/lilv/lilvmm.hpp index 0ac802d..d447b9d 100644 --- a/include/lilv/lilvmm.hpp +++ b/include/lilv/lilvmm.hpp @@ -47,13 +47,6 @@ struct UI; struct UIs; struct World; -LILV_DEPRECATED -static inline const char* -uri_to_path(const char* uri) -{ - return lilv_uri_to_path(uri); -} - #if defined(__clang__) # pragma clang diagnostic pop #elif defined(__GNUC__) && __GNUC__ > 4 |