aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-02-04 20:49:28 +0100
committerDavid Robillard <d@drobilla.net>2022-01-13 15:33:54 -0500
commit16e8c50a29d8a932fa84a74d0b2a732994116db0 (patch)
treef0e52e13ddf5d7153897aa0dbf68ba5f20283ef3 /include/serd
parentc4bb9e1ca60fd7e82548aa2e5d72e9ab7efda9ca (diff)
downloadserd-16e8c50a29d8a932fa84a74d0b2a732994116db0.tar.gz
serd-16e8c50a29d8a932fa84a74d0b2a732994116db0.tar.bz2
serd-16e8c50a29d8a932fa84a74d0b2a732994116db0.zip
Remove serd_uri_to_path()
Diffstat (limited to 'include/serd')
-rw-r--r--include/serd/serd.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h
index fcba2ddf..189592de 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -61,18 +61,6 @@
SERD_API \
SERD_CONST_FUNC
-#ifndef SERD_DISABLE_DEPRECATED
-# if defined(__clang__) && __clang_major__ >= 7
-# define SERD_DEPRECATED_BY(rep) __attribute__((deprecated("", rep)))
-# elif defined(__GNUC__) && __GNUC__ > 4
-# define SERD_DEPRECATED_BY(rep) __attribute__((deprecated("Use " rep)))
-# elif defined(__GNUC__)
-# define SERD_DEPRECATED_BY(rep) __attribute__((deprecated))
-# else
-# define SERD_DEPRECATED_BY(rep)
-# endif
-#endif
-
#ifdef __cplusplus
extern "C" {
# if defined(__GNUC__)
@@ -254,22 +242,6 @@ typedef struct {
static const SerdURI SERD_URI_NULL =
{{NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}};
-#ifndef SERD_DISABLE_DEPRECATED
-
-/**
- Return the local path for `uri`, or NULL if `uri` is not a file URI.
- Note this (inappropriately named) function only removes the file scheme if
- necessary, and returns `uri` unmodified if it is an absolute path. Percent
- encoding and other issues are not handled, to properly convert a file URI to
- a path, use serd_file_uri_parse().
-*/
-SERD_API
-SERD_DEPRECATED_BY("serd_file_uri_parse")
-const uint8_t* SERD_NULLABLE
-serd_uri_to_path(const uint8_t* SERD_NONNULL uri);
-
-#endif
-
/**
Get the unescaped path and hostname from a file URI.