From 1677e730da8e6ecd5b874a8a4cff75aad2b1a81c Mon Sep 17 00:00:00 2001 From: David Van Horn Date: Sun, 21 Apr 2024 10:06:03 -0400 Subject: [PATCH] Fix up to runtime.h entry signature. --- langs/hoax/runtime.h | 2 +- langs/hustle/runtime.h | 2 +- langs/iniquity/runtime.h | 8 ++++++-- langs/jig/runtime.h | 8 ++++++-- langs/knock/runtime.h | 8 ++++++-- langs/loot/runtime.h | 8 ++++++-- langs/mountebank/runtime.h | 8 ++++++-- langs/mug/runtime.h | 8 ++++++-- langs/neerdowell/runtime.h | 8 ++++++-- 9 files changed, 44 insertions(+), 16 deletions(-) diff --git a/langs/hoax/runtime.h b/langs/hoax/runtime.h index 813214d6..cf6a73cf 100644 --- a/langs/hoax/runtime.h +++ b/langs/hoax/runtime.h @@ -3,7 +3,7 @@ #include "values.h" -val_t entry(); +val_t entry(val_t*); extern FILE* in; extern FILE* out; extern void (*error_handler)(); diff --git a/langs/hustle/runtime.h b/langs/hustle/runtime.h index 813214d6..cf6a73cf 100644 --- a/langs/hustle/runtime.h +++ b/langs/hustle/runtime.h @@ -3,7 +3,7 @@ #include "values.h" -val_t entry(); +val_t entry(val_t*); extern FILE* in; extern FILE* out; extern void (*error_handler)(); diff --git a/langs/iniquity/runtime.h b/langs/iniquity/runtime.h index f594f0f6..cf6a73cf 100644 --- a/langs/iniquity/runtime.h +++ b/langs/iniquity/runtime.h @@ -1,11 +1,15 @@ #ifndef RUNTIME_H #define RUNTIME_H -int64_t entry(); + +#include "values.h" + +val_t entry(val_t*); extern FILE* in; extern FILE* out; extern void (*error_handler)(); // in words #define heap_size 10000 -extern int64_t *heap; +extern val_t *heap; + #endif /* RUNTIME_H */ diff --git a/langs/jig/runtime.h b/langs/jig/runtime.h index f594f0f6..cf6a73cf 100644 --- a/langs/jig/runtime.h +++ b/langs/jig/runtime.h @@ -1,11 +1,15 @@ #ifndef RUNTIME_H #define RUNTIME_H -int64_t entry(); + +#include "values.h" + +val_t entry(val_t*); extern FILE* in; extern FILE* out; extern void (*error_handler)(); // in words #define heap_size 10000 -extern int64_t *heap; +extern val_t *heap; + #endif /* RUNTIME_H */ diff --git a/langs/knock/runtime.h b/langs/knock/runtime.h index f594f0f6..cf6a73cf 100644 --- a/langs/knock/runtime.h +++ b/langs/knock/runtime.h @@ -1,11 +1,15 @@ #ifndef RUNTIME_H #define RUNTIME_H -int64_t entry(); + +#include "values.h" + +val_t entry(val_t*); extern FILE* in; extern FILE* out; extern void (*error_handler)(); // in words #define heap_size 10000 -extern int64_t *heap; +extern val_t *heap; + #endif /* RUNTIME_H */ diff --git a/langs/loot/runtime.h b/langs/loot/runtime.h index f594f0f6..cf6a73cf 100644 --- a/langs/loot/runtime.h +++ b/langs/loot/runtime.h @@ -1,11 +1,15 @@ #ifndef RUNTIME_H #define RUNTIME_H -int64_t entry(); + +#include "values.h" + +val_t entry(val_t*); extern FILE* in; extern FILE* out; extern void (*error_handler)(); // in words #define heap_size 10000 -extern int64_t *heap; +extern val_t *heap; + #endif /* RUNTIME_H */ diff --git a/langs/mountebank/runtime.h b/langs/mountebank/runtime.h index f594f0f6..cf6a73cf 100644 --- a/langs/mountebank/runtime.h +++ b/langs/mountebank/runtime.h @@ -1,11 +1,15 @@ #ifndef RUNTIME_H #define RUNTIME_H -int64_t entry(); + +#include "values.h" + +val_t entry(val_t*); extern FILE* in; extern FILE* out; extern void (*error_handler)(); // in words #define heap_size 10000 -extern int64_t *heap; +extern val_t *heap; + #endif /* RUNTIME_H */ diff --git a/langs/mug/runtime.h b/langs/mug/runtime.h index f594f0f6..cf6a73cf 100644 --- a/langs/mug/runtime.h +++ b/langs/mug/runtime.h @@ -1,11 +1,15 @@ #ifndef RUNTIME_H #define RUNTIME_H -int64_t entry(); + +#include "values.h" + +val_t entry(val_t*); extern FILE* in; extern FILE* out; extern void (*error_handler)(); // in words #define heap_size 10000 -extern int64_t *heap; +extern val_t *heap; + #endif /* RUNTIME_H */ diff --git a/langs/neerdowell/runtime.h b/langs/neerdowell/runtime.h index f594f0f6..cf6a73cf 100644 --- a/langs/neerdowell/runtime.h +++ b/langs/neerdowell/runtime.h @@ -1,11 +1,15 @@ #ifndef RUNTIME_H #define RUNTIME_H -int64_t entry(); + +#include "values.h" + +val_t entry(val_t*); extern FILE* in; extern FILE* out; extern void (*error_handler)(); // in words #define heap_size 10000 -extern int64_t *heap; +extern val_t *heap; + #endif /* RUNTIME_H */