Skip to content
Snippets Groups Projects

ENH: Add retrieval and queries to Extern C interface

Merged Florian Spreckelsen requested to merge f-extended-c into f-files
2 unresolved threads
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -57,6 +57,10 @@ auto Parent::SetId(const std::string &id) -> void { this->wrapped->set_id(id); }
return this->wrapped->name();
}
[[nodiscard]] auto Parent::GetDescription() const -> const std::string & {
return this->wrapped->description();
}
auto Parents::Append(const Parent &parent) -> void {
auto *destination = this->wrapped->Add();
destination->Swap(parent.wrapped);
@@ -74,7+78,7 @@
return google::protobuf::Arena::CreateMessage<ProtoProperty>(get_arena());
}
[[nodiscard]] auto Property::GetId() const -> const std::string & {
return this->wrapped->id();
}
Loading