From 1c0cc775732201f4c4d3ee0d6772be786b3b4aa1 Mon Sep 17 00:00:00 2001 From: Uneven Prankster Date: Sun, 15 Oct 2023 21:28:29 -0300 Subject: A lot has certainly happened! --- src/text.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/text.h (limited to 'src/text.h') diff --git a/src/text.h b/src/text.h deleted file mode 100644 index 9ac01d3..0000000 --- a/src/text.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include "config.h" - -#define String(s) (s8){(u8*)s, lengthof(s)} -typedef struct { - u8 *buf; - size len; -} s8; - -size txt_length(const char *text); - -s8 create_s8(const size sz); - -void free_s8(s8* str); - -s8 cstr_to_s8(const char* str); - -b32 equal_s8(const s8 one, const s8 other); - -void add_s8(s8 dst, const s8 src, size* pos); - -s8 load_file_text(const s8 path); \ No newline at end of file -- cgit v1.2.3