Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::wasm_injections::module_injectors< Visitors > Struct Template Reference

#include <wasm_sysio_injection.hpp>

Static Public Member Functions

static void inject (IR::Module &m)
 
static void init ()
 

Detailed Description

template<typename ... Visitors>
struct sysio::chain::wasm_injections::module_injectors< Visitors >

Definition at line 584 of file wasm_sysio_injection.hpp.

Member Function Documentation

◆ init()

template<typename ... Visitors>
static void sysio::chain::wasm_injections::module_injectors< Visitors >::init ( )
inlinestatic

Definition at line 590 of file wasm_sysio_injection.hpp.

590 {
591 // place initial values for static fields of injectors here
592 for ( auto initializer : { Visitors::initializer... } ) {
593 initializer();
594 }
595 }

◆ inject()

template<typename ... Visitors>
static void sysio::chain::wasm_injections::module_injectors< Visitors >::inject ( IR::Module & m)
inlinestatic

Definition at line 585 of file wasm_sysio_injection.hpp.

585 {
586 for ( auto injector : { Visitors::inject... } ) {
587 injector( m );
588 }
589 }

The documentation for this struct was generated from the following file: