Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion nob.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* nob - v3.6.0 - Public Domain - https://github.com/tsoding/nob.h
/* nob - v3.7.0 - Public Domain - https://github.com/tsoding/nob.h

This library is the next generation of the [NoBuild](https://github.com/tsoding/nobuild) idea.

Expand Down Expand Up @@ -446,6 +446,9 @@ NOBDEF void nob_sb_pad_align(Nob_String_Builder *sb, size_t size);
// Append a sized buffer to a string builder
#define nob_sb_append_buf(sb, buf, size) nob_da_append_many(sb, buf, size)

// Append a string view to a string builder
#define nob_sb_append_sv(sb, sv) nob_sb_append_buf((sb), (sv).data, (sv).count)

// Append a NULL-terminated string to a string builder
#define nob_sb_append_cstr(sb, cstr) \
do { \
Expand Down Expand Up @@ -2912,6 +2915,7 @@ NOBDEF char *nob_temp_running_executable_path(void)
#define read_entire_file nob_read_entire_file
#define sb_appendf nob_sb_appendf
#define sb_append_buf nob_sb_append_buf
#define sb_append_sv nob_sb_append_sv
#define sb_append_cstr nob_sb_append_cstr
#define sb_append_null nob_sb_append_null
#define sb_append nob_sb_append
Expand Down Expand Up @@ -3008,6 +3012,7 @@ NOBDEF char *nob_temp_running_executable_path(void)
/*
Revision history:

3.7.0 (2026-03-20) Add nob_sb_append_sv()
3.6.0 (2026-03-16) Add nob_sv_chop_suffix()
Deprecate nob_sv_end_with()
Add nob_sv_ends_with_cstr() instead of nob_sv_end_with()
Expand Down
Loading