aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/serd.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-02-04 20:49:28 +0100
committerDavid Robillard <d@drobilla.net>2023-12-02 16:27:02 -0500
commit1c59b863d8c2c2d7b5531866586baf232c0047a2 (patch)
tree2a464c22769631b28fbaf8fdb1f0c04e0b4034f9 /include/serd/serd.h
parent14196632191339b69d9db3a242a1b8be3f960669 (diff)
downloadserd-1c59b863d8c2c2d7b5531866586baf232c0047a2.tar.gz
serd-1c59b863d8c2c2d7b5531866586baf232c0047a2.tar.bz2
serd-1c59b863d8c2c2d7b5531866586baf232c0047a2.zip
Remove serd_uri_to_path()
Diffstat (limited to 'include/serd/serd.h')
-rw-r--r--include/serd/serd.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h
index 2e7a13e6..1ac38fcd 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -46,18 +46,6 @@
#define SERD_PURE_API SERD_API SERD_PURE_FUNC
#define SERD_CONST_API 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__)
@@ -237,21 +225,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_DEPRECATED_BY("serd_file_uri_parse")
-SERD_API 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.