-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix up to runtime.h entry signature.
- Loading branch information
Showing
9 changed files
with
44 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ |