From 5d37541d63b5c1454dd424eb6f0bc4465629dade Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 21 Jan 2026 19:02:42 +0100 Subject: Cleanup and fixes --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d56be50..0fd1aa4 100644 --- a/README.md +++ b/README.md @@ -158,10 +158,11 @@ if (content) { FREE(content); // Standard free (unless using arena) } -// Or read directly into a string view or builder -stringv file_sv = read_entire_file_sv("config.ini"); -// ... use file_sv ... -FREE((void*)file_sv.data); // Note: read_entire_file_sv allocates the data +// Or read directly into a string builder +stringb file_sb = read_entire_file_sb("config.ini"); +// ... use file_sb ... +sb_free(&file_sb); + ``` ## Testing -- cgit v1.2.3