diff options
author | David Robillard <d@drobilla.net> | 2021-01-09 02:11:00 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-09 18:08:40 +0100 |
commit | 0ed324754b1db561c8f05072ff9300f0be5e1a3a (patch) | |
tree | 0c4641c2ca583d659d33ca8b94c7dfc04801ab29 /include | |
parent | 17834fd8280fb8a51e5a4ff97db9533d3d1b260c (diff) | |
download | serd-0ed324754b1db561c8f05072ff9300f0be5e1a3a.tar.gz serd-0ed324754b1db561c8f05072ff9300f0be5e1a3a.tar.bz2 serd-0ed324754b1db561c8f05072ff9300f0be5e1a3a.zip |
Fix SERD_DISABLE_DEPRECATED
Diffstat (limited to 'include')
-rw-r--r-- | include/serd/serd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index e5505410..9db354ac 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -361,6 +361,8 @@ typedef size_t (*SerdSink)(const void* SERD_NONNULL buf, 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 @@ -373,6 +375,8 @@ 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. |