Change cstr to slc function to have proper namespacing
This commit is contained in:
parent
0722bcf51b
commit
c92f5df354
3 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue