mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
Move string printing to runtime
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user