refactor(furvm): remove thing handles

This commit is contained in:
2026-08-13 22:08:59 +02:00
parent 21e92dcb4b
commit 84b70077c1
10 changed files with 186 additions and 144 deletions
+1 -2
View File
@@ -60,8 +60,7 @@ int main(int argc, char** argv) {
ctx.mainFunction = ctx.mod->function_at("main", furvm::function_sig{});
ctx.mod->set_native_function("println", [](furvm::executor& executor) {
auto arg = executor.load_thing(0);
print_thing(*arg);
print_thing(executor.load_thing(0));
std::cout << '\n';
});