diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-09 21:59:10 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-10-09 21:59:10 -0400 |
commit | 655f7a4976f42d419bf1111a177a0204eaaf1f8d (patch) | |
tree | fbefcdabc1dfb41fa38faeccd7de08009e1c2d64 /out.c | |
parent | 076ea231f9d33d20066916ac8aa8506e91d3f9ea (diff) |
a bit more cgen (basic fn headers)
Diffstat (limited to 'out.c')
-rw-r--r-- | out.c | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -1,2 +1,23 @@ +#include <stdint.h> +typedef int8_t i8; +typedef int16_t i16; +typedef int32_t i32; +typedef int64_t i64; +typedef uint8_t u8; +typedef uint16_t u16; +typedef uint32_t u32; +typedef uint64_t u64; +typedef float f32; +typedef double f64; +typedef unsigned char bool; +#define false ((bool)0) +#define true ((bool)1) + + /* declarations */ -;/* code */ +void main__(); +/* code */ +int main() { + main__(); + return 0; +} |