diff options
author | David Robillard <d@drobilla.net> | 2021-08-13 12:46:31 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-08-13 12:46:31 -0400 |
commit | 6a2962128761c4579877b86f6aeb2adc30f8e9ce (patch) | |
tree | 0b0101a905fe31f18f160913e6c0fae7e2774565 /bindings/cpp | |
parent | c37e9cccb6a8dfee42bb50ec2646ecc41f353ae2 (diff) | |
download | sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.tar.gz sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.tar.bz2 sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.zip |
WIP
Diffstat (limited to 'bindings/cpp')
-rw-r--r-- | bindings/cpp/include/sratom/sratom.hpp | 10 | ||||
-rw-r--r-- | bindings/cpp/meson.build | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/bindings/cpp/include/sratom/sratom.hpp b/bindings/cpp/include/sratom/sratom.hpp index 8be6644..9bb9c1f 100644 --- a/bindings/cpp/include/sratom/sratom.hpp +++ b/bindings/cpp/include/sratom/sratom.hpp @@ -69,14 +69,14 @@ enum class Flag { terse = SRATOM_TERSE, }; -using Flags = serd::detail::Flags<Flag>; +using Flags = serd::Flags<Flag>; class Dumper - : public serd::detail::BasicWrapper<SratomDumper, sratom_dumper_free> + : public serd::detail::StaticWrapper<SratomDumper, sratom_dumper_free> { public: Dumper(serd::World& world, LV2_URID_Map& map, LV2_URID_Unmap& unmap) - : BasicWrapper(sratom_dumper_new(world.cobj(), &map, &unmap)) + : StaticWrapper(sratom_dumper_new(world.cobj(), &map, &unmap)) {} SratomStatus write(const serd::Env& env, @@ -144,13 +144,13 @@ private: }; class Loader - : public serd::detail::BasicWrapper<SratomLoader, sratom_loader_free> + : public serd::detail::StaticWrapper<SratomLoader, sratom_loader_free> { public: using AtomPtr = std::unique_ptr<LV2_Atom, detail::Deleter>; Loader(serd::World& world, LV2_URID_Map& map) - : BasicWrapper(sratom_loader_new(world.cobj(), &map)) + : StaticWrapper(sratom_loader_new(world.cobj(), &map)) {} SratomStatus load(const serd::Optional<serd::Node>& base_uri, diff --git a/bindings/cpp/meson.build b/bindings/cpp/meson.build index ea6d336..c99f3ec 100644 --- a/bindings/cpp/meson.build +++ b/bindings/cpp/meson.build @@ -53,9 +53,9 @@ cpp_headers = [ 'include/sratom/sratom.hpp', ] -serdpp_dep = dependency('serdxx-1', +serdpp_dep = dependency('serdpp-1', version: '>= 1.0.0', - fallback: ['serd', 'serdxx_dep']) + fallback: ['serd', 'serdpp_dep']) sratompp_dep = declare_dependency( include_directories: include_directories(['include']), |