ppdfviewer, basic, bits and string view
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user