From d540332f52fbd9b2c50a402525a5cfca4919ec32 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sun, 27 Nov 2022 19:55:09 +0100 Subject: Removed dependence to STC_CSTR_V1. --- examples/sso_substr.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples') 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); } -- cgit v1.2.3