diff options
| author | Mustafa Quraish <[email protected]> | 2022-02-04 07:38:53 -0500 |
|---|---|---|
| committer | Mustafa Quraish <[email protected]> | 2022-02-05 08:56:15 -0500 |
| commit | 6a376cfd6f89a6ceb39a8c425cf8095647170c7e (patch) | |
| tree | 0f5b6e0dee971222824c71e8ec207bbdbd1eb3ec /src/types.h | |
| parent | Allow `builtins.c` to inject constants into program, use for syscalls (diff) | |
| download | cup-6a376cfd6f89a6ceb39a8c425cf8095647170c7e.tar.xz cup-6a376cfd6f89a6ceb39a8c425cf8095647170c7e.zip | |
Add `void` type and allow void* to be assigned to other ptr types
Diffstat (limited to 'src/types.h')
| -rw-r--r-- | src/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.h b/src/types.h index 22c0d5f..2b9353d 100644 --- a/src/types.h +++ b/src/types.h @@ -4,7 +4,7 @@ #include <stdio.h> typedef enum { - TYPE_NONE, + TYPE_VOID, TYPE_ANY, // This is a hack for builtins till we can cast types TYPE_INT, TYPE_CHAR, |