Skip to content

sfit

Category: string
GitHub: cute_string.h


Ensures the capacity of the string is at least n+1 elements.

#define sfit(s, n) cf_string_fit(s, n)
Parameters Description
s The string. Can be NULL.
n The number of elements for the new internal capacity.

Remarks

Does not change the size/count of the string, or the len. This function is just here for optimization purposes.

sdyna
sclear
scap