chore: flat out the file structure
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#ifndef CONTEXT_HPP
|
||||
#define CONTEXT_HPP
|
||||
|
||||
#include <furvm/context.hpp>
|
||||
#include <furvm/executor.hpp>
|
||||
#include <furvm/fwd.hpp>
|
||||
#include <furvm/module.hpp>
|
||||
|
||||
struct context {
|
||||
furvm::context_p context = std::make_shared<furvm::context>();
|
||||
furvm::mod_h mod;
|
||||
furvm::executor* executor = nullptr;
|
||||
furvm::function_h mainFunction;
|
||||
|
||||
bool running = true;
|
||||
bool halt = true;
|
||||
|
||||
void kill() const;
|
||||
void init();
|
||||
|
||||
void run();
|
||||
|
||||
void print_instruction() const;
|
||||
};
|
||||
|
||||
#endif // CONTEXT_HPP
|
||||
Reference in New Issue
Block a user