nsl_join for default allocator
This commit is contained in:
4
gebs.h
4
gebs.h
@ -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
|
||||
|
Reference in New Issue
Block a user