Skip to content

src/runtime/wasm_provider.hpp

Namespaces

Name
sgns
sgns::runtime

Classes

Name
class sgns::runtime::WasmProvider
Interface for accessing WASM state/runtime code.

Source code

#ifndef SUPERGENIUS_SRC_RUNTIME_WASM_PROVIDER_HPP
#define SUPERGENIUS_SRC_RUNTIME_WASM_PROVIDER_HPP

#include "base/buffer.hpp"

namespace sgns::runtime {
  class WasmProvider {
   public:
    virtual ~WasmProvider() = default;

    virtual const base::Buffer &getStateCode() const = 0;
  };
}  // namespace sgns::runtime

#endif  // SUPERGENIUS_SRC_RUNTIME_WASM_PROVIDER_HPP

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