Guard string builder struct

This commit is contained in:
cannoli-fruit 2026-07-13 01:50:50 -04:00
commit 913a49e2fb

3
lazy.h
View file

@ -124,7 +124,10 @@ char *lz_cstr_dup(const char *s);
for (T *name = (da).data; name-(da).data < (da).cnt; ++name) for (T *name = (da).data; name-(da).data < (da).cnt; ++name)
#endif #endif
#ifndef LZ_SB_DEFINITION
#define LZ_SB_DEFINITION
typedef Lz_DA(char) Lz_SB; typedef Lz_DA(char) Lz_SB;
#endif
#ifndef Lz_HM #ifndef Lz_HM
#define Lz_HM(K_t, V_t) struct {\ #define Lz_HM(K_t, V_t) struct {\