Skip to content

src/runtime/binaryen/runtime_api/metadata_impl.hpp

Namespaces

Name
sgns
sgns::runtime
sgns::runtime::binaryen

Classes

Name
class sgns::runtime::binaryen::MetadataImpl

Source code

#ifndef SUPERGENIUS_SRC_RUNTIME_BINARYEN_METADATA_IMPL_HPP
#define SUPERGENIUS_SRC_RUNTIME_BINARYEN_METADATA_IMPL_HPP

#include "runtime/binaryen/runtime_api/runtime_api.hpp"
#include "runtime/metadata.hpp"

namespace sgns::runtime::binaryen {

  class MetadataImpl : public RuntimeApi, public Metadata {
   public:
    explicit MetadataImpl(
        const std::shared_ptr<WasmProvider> &wasm_provider,
        const std::shared_ptr<RuntimeManager> &runtime_manager);

    ~MetadataImpl() override = default;

    outcome::result<OpaqueMetadata> metadata() override;
  };
}  // namespace sgns::runtime::binaryen

#endif  // SUPERGENIUS_SRC_RUNTIME_BINARYEN_METADATA_IMPL_HPP

Updated on 2026-03-04 at 13:10:45 -0800