]> gitweb.factorcode.org Git - factor.git/blob - vm/mvm-none.cpp
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / mvm-none.cpp
1 #include "master.hpp"
2
3 namespace factor {
4
5 factor_vm* global_vm;
6
7 void init_mvm() { global_vm = NULL; }
8
9 void register_vm_with_thread(factor_vm* vm) {
10   FACTOR_ASSERT(!global_vm);
11   global_vm = vm;
12 }
13
14 factor_vm* current_vm_p() { return global_vm; }
15
16 }