Wasmtime
extern_declare.hh
1// A separate "private" header different from `extern.hh` which is used to
2// help break the cycle between `extern.hh` and `func.hh`.
3
4#ifndef WASMTIME_EXTERN_DECLARE_HH
5#define WASMTIME_EXTERN_DECLARE_HH
6
7#include <variant>
8
9namespace wasmtime {
10
11class Global;
12class Func;
13class Memory;
14class Table;
15
18typedef std::variant<Func, Global, Memory, Table> Extern;
19
20} // namespace wasmtime
21
22#endif // WASMTIME_EXTERN_DECLARE_HH