Rename struct String to struct dstr

This commit is contained in:
Abdelrahman Said 2024-02-24 15:04:22 +00:00
parent 293b16af31
commit 7e8de5f5fb
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
#include "aliases.h"
typedef struct String String;
typedef struct dstr String;
String *dstr_with_capacity(u64 capacity);
String *dstr_from_string(const char *str);

View File

@ -8,7 +8,7 @@
// constantly reallocate
#define CAPACITY_SCALAR 8
struct String {
struct dstr {
u64 capacity;
u64 size;
char buf[];