Change cstr to slc function to have proper namespacing

This commit is contained in:
cannoli-fruit 2026-07-16 03:28:11 -04:00
commit c92f5df354
3 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@
int main() {
char *src = " \t This text has some extra whitespace \t ";
Lz_Slc s = lz_cstr_to_slc(src);
Lz_Slc s = lz_slc_from_cstr(src);
printf("|"LZ_STR_FMT"|\n", LZ_STR_PRINTF(s));
lz_slc_trim_typ(&s, isspace);