From 4c003115e16331d7389a8a810caa17d526881703 Mon Sep 17 00:00:00 2001 From: Mosder Date: Tue, 20 Oct 2026 16:18:04 +0200 Subject: feat: improved compatibility for specific platforms --- include/moslib/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/moslib/string.h b/include/moslib/string.h index 65a38c5..5d50478 100644 --- a/include/moslib/string.h +++ b/include/moslib/string.h @@ -25,7 +25,7 @@ // // It will share the same pointer as the original, so freeing the original will free this one too. // -// If you want to use a string literal to create a slice at compile time, use: +// You can also define it via the macro which extends to a compound literal: // // StringSlice ss = SS_LIT("literal"); // @@ -213,7 +213,7 @@ extern MosStringSlice mos_ss_from_str(const char *str); // a copy of a string slice extern MosStringSlice mos_ss_copy(MosStringSlice ss); -// Create a string slice from a string literal at compile time +// Create a string slice as a compound literal // // Arguments: // lit -- cgit v1.2.3