Skip to content

Commit

Permalink
Fix up to runtime.h entry signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvanhorn committed Apr 21, 2024
1 parent dbddc73 commit 1677e73
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 16 deletions.
2 changes: 1 addition & 1 deletion langs/hoax/runtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)();
Expand Down
2 changes: 1 addition & 1 deletion langs/hustle/runtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)();
Expand Down
8 changes: 6 additions & 2 deletions langs/iniquity/runtime.h
Original file line number Diff line number Diff line change
@@ -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 */
8 changes: 6 additions & 2 deletions langs/jig/runtime.h
Original file line number Diff line number Diff line change
@@ -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 */
8 changes: 6 additions & 2 deletions langs/knock/runtime.h
Original file line number Diff line number Diff line change
@@ -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 */
8 changes: 6 additions & 2 deletions langs/loot/runtime.h
Original file line number Diff line number Diff line change
@@ -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 */
8 changes: 6 additions & 2 deletions langs/mountebank/runtime.h
Original file line number Diff line number Diff line change
@@ -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 */
8 changes: 6 additions & 2 deletions langs/mug/runtime.h
Original file line number Diff line number Diff line change
@@ -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 */
8 changes: 6 additions & 2 deletions langs/neerdowell/runtime.h
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit 1677e73

Please sign in to comment.