Move string printing to runtime

This commit is contained in:
Ayke van Laethem
2018-04-11 20:41:09 +02:00
parent 7ffb73b407
commit d08ff64d1d
4 changed files with 105 additions and 33 deletions
+12
View File
@@ -0,0 +1,12 @@
#pragma once
#include <stdint.h>
typedef struct {
uint32_t length; // TODO: size_t
uint8_t *data;
} string_t;
void __go_printstring(char *str);
void __go_printnl();