nsl_join for default allocator

This commit is contained in:
kamkow1
2025-06-09 14:32:12 +02:00
parent 692358fd8a
commit 9582176638

4
gebs.h
View File

@ -257,6 +257,9 @@ typedef struct {
} \
} while(0)
#define gebs_nsl_join(nsl, sb, sep) \
gebs_nsl_join_alloc(&gebs_default_allocator, (nsl), (sb), (sep))
typedef struct {
char *items;
size_t count, capacity;
@ -799,6 +802,7 @@ void gebs_rebuild_self1_alloc(Gebs_Allocator *alloc, int argc, char ** argv,
#define NString_List Gebs_NString_List
#define nsl_join_alloc gebs_nls_join_alloc
#define nsl_join gebs_nsl_join
#define String_Builder Gebs_String_Builder
#define sb_append_char_alloc gebs_sb_append_char_alloc