feat: introduce more integer thing types

Closes: #31
This commit is contained in:
2026-06-29 20:43:00 +02:00
parent 6ab9254746
commit 42f020977e
3 changed files with 38 additions and 8 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ int main(void) {
file.close();
furvmMod->set_native_function("print",
[](furvm::executor& executor) { std::cout << executor.load_thing(0)->get<furvm::int_t>() << '\n'; });
[](furvm::executor& executor) { std::cout << executor.load_thing(0)->integer() << '\n'; });
furvm::executor_h executor = context->emplace_executor(context);
executor->push_frame(furvmMod, *furvmMod->function_at("main"));