aboutsummaryrefslogtreecommitdiff
path: root/src/fvm.h
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2024-12-05 21:49:00 +0800
committerMistivia <i@mistivia.com>2024-12-05 21:49:00 +0800
commitcd818993399f1fc8fa000b4144730affd291761f (patch)
tree13d546dd873ad37e850cf089c322b91a20d25ccf /src/fvm.h
parent79194983d0331d632bd094370a410fa0aaefe6aa (diff)
add syscall
Diffstat (limited to 'src/fvm.h')
-rw-r--r--src/fvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fvm.h b/src/fvm.h
index 8d8cb87..9cd18a4 100644
--- a/src/fvm.h
+++ b/src/fvm.h
@@ -9,7 +9,7 @@ typedef double fvm_float_t;;
struct fvm;
// return non-zero if vm should be suspended
-typedef int64_t (*fvm_syscall_fn_t)(struct fvm* vm);
+typedef void (*fvm_syscall_fn_t)(struct fvm* vm);
struct fvm {
fvm_word_t sp; // stack pointer