diff options
| author | Mosder <git@mosder.eu> | 2026-10-20 16:18:04 +0200 |
|---|---|---|
| committer | Mosder <git@mosder.eu> | 2026-10-20 16:18:04 +0200 |
| commit | 4c003115e16331d7389a8a810caa17d526881703 (patch) | |
| tree | 2fa31cb360a600f5bed2552d9247aca5eaaf6aa9 /include | |
| parent | fc5f5f1f58542500734841822768267d0ece2456 (diff) | |
feat: improved compatibility for specific platforms
Diffstat (limited to 'include')
| -rw-r--r-- | include/moslib/string.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
