From 91945867cfee9e92df50149311d98eda41b16a60 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 23 Mar 2021 12:42:43 -0400 Subject: WIP --- bindings/cpp/include/sratom/sratom.hpp | 44 +++++++++++++++++----------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'bindings/cpp/include/sratom') diff --git a/bindings/cpp/include/sratom/sratom.hpp b/bindings/cpp/include/sratom/sratom.hpp index b12d5e1..8be6644 100644 --- a/bindings/cpp/include/sratom/sratom.hpp +++ b/bindings/cpp/include/sratom/sratom.hpp @@ -79,21 +79,21 @@ public: : BasicWrapper(sratom_dumper_new(world.cobj(), &map, &unmap)) {} - int write(const serd::Env& env, - serd::SinkView sink, - const LV2_Atom& atom, - const Flags flags) + SratomStatus write(const serd::Env& env, + serd::SinkView sink, + const LV2_Atom& atom, + const Flags flags) { return sratom_dump_atom( cobj(), env.cobj(), sink.cobj(), nullptr, nullptr, &atom, flags); } - int write(const serd::Env& env, - serd::SinkView sink, - const serd::Node& subject, - const serd::Node& predicate, - const LV2_Atom& atom, - const Flags flags) + SratomStatus write(const serd::Env& env, + serd::SinkView sink, + const serd::Node& subject, + const serd::Node& predicate, + const LV2_Atom& atom, + const Flags flags) { return sratom_dump_atom(cobj(), env.cobj(), @@ -104,14 +104,14 @@ public: flags); } - int write(const serd::Env& env, - serd::SinkView sink, - const serd::Node& subject, - const serd::Node& predicate, - LV2_URID type, - uint32_t size, - const void* body, - const Flags flags) + SratomStatus write(const serd::Env& env, + serd::SinkView sink, + const serd::Node& subject, + const serd::Node& predicate, + LV2_URID type, + uint32_t size, + const void* body, + const Flags flags) { return sratom_dump(cobj(), env.cobj(), @@ -153,10 +153,10 @@ public: : BasicWrapper(sratom_loader_new(world.cobj(), &map)) {} - int load(const serd::Optional& base_uri, - LV2_Atom_Forge& forge, - const serd::Model& model, - const serd::Node& node) + SratomStatus load(const serd::Optional& base_uri, + LV2_Atom_Forge& forge, + const serd::Model& model, + const serd::Node& node) { return sratom_load( cobj(), base_uri.cobj(), &forge, model.cobj(), node.cobj()); -- cgit v1.2.1