This commit is contained in:
Hizenberg469
2025-01-10 20:51:19 +05:30
commit 7563c1ad59
6 changed files with 148 additions and 0 deletions

14
include/b_string.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef B_STRING
#define B_STRING
#include <stddef.h>
typedef struct b_string_{
size_t len;
unsigned char str[];
}b_string_t;
b_string_t *alloc_b_string(size_t len, const char* str);
void free_b_string(b_string_t *b_str);
#endif