From 18ce03173dc8663b3f88c7010693641bad42eac4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Apr 2019 00:14:47 +0200 Subject: Remove lilv_uri_to_path() --- include/lilv/lilv.h | 15 --------------- include/lilv/lilvmm.hpp | 7 ------- 2 files changed, 22 deletions(-) (limited to 'include/lilv') 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 @@ -102,21 +102,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. 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 -- cgit v1.2.1