diff options
| author | Tyge Løvset <[email protected]> | 2022-11-27 19:55:09 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-11-27 19:55:09 +0100 |
| commit | d540332f52fbd9b2c50a402525a5cfca4919ec32 (patch) | |
| tree | 7f4b8048f01badbfc03203508ab4539af9cb042d /examples | |
| parent | bd6fdd79ee0aa91796ce88048ee15f7ae0f3e874 (diff) | |
| download | STC-modified-d540332f52fbd9b2c50a402525a5cfca4919ec32.tar.gz STC-modified-d540332f52fbd9b2c50a402525a5cfca4919ec32.zip | |
Removed dependence to STC_CSTR_V1.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/sso_substr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/sso_substr.c b/examples/sso_substr.c index 098d9b4b..0c8e9b22 100644 --- a/examples/sso_substr.c +++ b/examples/sso_substr.c @@ -14,9 +14,7 @@ int main () cstr_assign(&str, "apples are green or red"); cstr s2 = cstr_from_sv(cstr_substr_ex(&str, -3, 3)); // "red" cstr s3 = cstr_from_sv(cstr_substr_ex(&str, 0, 6)); // "apples" - #ifndef STC_CSTR_V1 printf("%s %s: %d, %d\n", cstr_str(&s2), cstr_str(&s3), cstr_is_long(&str), cstr_is_long(&s2)); - #endif c_drop (cstr, &str, &s2, &s3); } |
