feat: Hook up set_data host function

This commit is contained in:
TimothyBanks
2026-08-10 21:58:24 -04:00
parent 98abdef208
commit 98cf3a0532
11 changed files with 100 additions and 1 deletions

View File

@@ -273,6 +273,11 @@ public:
[[nodiscard]] std::int32_t
traceNum(rust::Str msg, std::int64_t number) const noexcept;
// Stores `data` as the current object's data field and returns the number of bytes
// stored, or a negative `HostFunctionError` code.
[[nodiscard]] std::int32_t
updateData(rust::Slice<std::uint8_t const> data) const noexcept;
};
} // namespace xrpl