Browse Source

Fix SERD_DISABLE_DEPRECATED

zrythm_meson
David Robillard 2 years ago
parent
commit
0ed324754b
  1. 6
      NEWS
  2. 4
      include/serd/serd.h
  3. 2
      src/serd_config.h
  4. 2
      wscript

6
NEWS

@ -1,3 +1,9 @@ @@ -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()

4
include/serd/serd.h

@ -361,6 +361,8 @@ typedef size_t (*SerdSink)(const void* SERD_NONNULL buf, @@ -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") @@ -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.

2
src/serd_config.h

@ -29,7 +29,7 @@ @@ -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)

2
wscript

@ -11,7 +11,7 @@ from waflib.extras import autowaf @@ -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

Loading…
Cancel
Save