ppdfviewer, basic, bits and string view

This commit is contained in:
2026-11-14 00:15:02 -03:00
parent c693541103
commit 04be717bc7
8 changed files with 193 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#ifndef STRING_VIEW_H
#define STRING_VIEW_H
#include <stddef.h>
typedef struct StringView {
char *text;
size_t lenght;
} StringView;
StringView sv_from_cstr(const char *);
StringView sv_left(const StringView *sv, size_t l);
StringView sv_right(const StringView *sv, size_t l);
#endif