WIP: dev #1

Draft
nub31 wants to merge 103 commits from dev into master
Showing only changes of commit 6e631ba1ba - Show all commits

View File

@@ -129,7 +129,7 @@ static size_t rc_frees = 0;
__attribute__((destructor)) __attribute__((destructor))
static void string_debug_report(void) static void string_debug_report(void)
{ {
fprintf(stderr, "[STR] REPORT allocs=%zu frees=%zu leaks=%zu\n", rc_allocs, rc_frees, rc_allocs - rc_frees); fprintf(stderr, "[RC] REPORT allocs=%zu frees=%zu leaks=%zu\n", rc_allocs, rc_frees, rc_allocs - rc_frees);
} }
static inline void string_rc_inc(string *str) static inline void string_rc_inc(string *str)