src/runtime/binaryen/runtime_api/metadata_impl.cpp¶
Namespaces¶
| Name |
|---|
| sgns |
| sgns::runtime |
| sgns::runtime::binaryen |
Types¶
| Name | |
|---|---|
| using std::vector< uint8_t > | OpaqueMetadata |
Types Documentation¶
using OpaqueMetadata¶
SuperGenius primitive, which is opaque representation of RuntimeMetadata
Source code¶
#include "runtime/binaryen/runtime_api/metadata_impl.hpp"
namespace sgns::runtime::binaryen {
using primitives::OpaqueMetadata;
MetadataImpl::MetadataImpl(
const std::shared_ptr<WasmProvider> &wasm_provider,
const std::shared_ptr<RuntimeManager> &runtime_manager)
: RuntimeApi(wasm_provider, runtime_manager) {}
outcome::result<OpaqueMetadata> MetadataImpl::metadata() {
return execute<OpaqueMetadata>("Metadata_metadata",
CallPersistency::EPHEMERAL);
}
} // namespace sgns::runtime::binaryen
Updated on 2026-03-04 at 13:10:45 -0800