aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-09 02:11:00 +0100
committerDavid Robillard <d@drobilla.net>2021-01-09 18:08:40 +0100
commit0ed324754b1db561c8f05072ff9300f0be5e1a3a (patch)
tree0c4641c2ca583d659d33ca8b94c7dfc04801ab29
parent17834fd8280fb8a51e5a4ff97db9533d3d1b260c (diff)
downloadserd-0ed324754b1db561c8f05072ff9300f0be5e1a3a.tar.gz
serd-0ed324754b1db561c8f05072ff9300f0be5e1a3a.tar.bz2
serd-0ed324754b1db561c8f05072ff9300f0be5e1a3a.zip
Fix SERD_DISABLE_DEPRECATED
-rw-r--r--NEWS6
-rw-r--r--include/serd/serd.h4
-rw-r--r--src/serd_config.h2
-rw-r--r--wscript2
4 files changed, 12 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 88ec623b..af8db216 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+serd (0.30.9) unstable;
+
+ * Fix SERD_DISABLE_DEPRECATED
+
+ -- David Robillard <d@drobilla.net> Sat, 09 Jan 2021 17:08:32 +0000
+
serd (0.30.8) stable;
* Deprecate serd_uri_to_path()
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.
diff --git a/src/serd_config.h b/src/serd_config.h
index 3e21e66f..eaf2c210 100644
--- a/src/serd_config.h
+++ b/src/serd_config.h
@@ -29,7 +29,7 @@
#define SERD_CONFIG_H
// Define version unconditionally so a warning will catch a mismatch
-#define SERD_VERSION "0.30.8"
+#define SERD_VERSION "0.30.9"
#if !defined(SERD_NO_DEFAULT_CONFIG)
diff --git a/wscript b/wscript
index 08c92ea8..a96eda3b 100644
--- a/wscript
+++ b/wscript
@@ -11,7 +11,7 @@ from waflib.extras import autowaf
# major increment <=> incompatible changes
# minor increment <=> compatible changes (additions)
# micro increment <=> no interface changes
-SERD_VERSION = '0.30.8'
+SERD_VERSION = '0.30.9'
SERD_MAJOR_VERSION = '0'
# Mandatory waf variables