From 681873e4cb6ea076b79c6c70b2df2ba4e4c19bda Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 18 Sep 2020 11:55:29 +0200 Subject: Changed _ini macro constant to _INIT, and _destroy() to _del. --- examples/replace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/replace.c') diff --git a/examples/replace.c b/examples/replace.c index c68a8940..c4929864 100644 --- a/examples/replace.c +++ b/examples/replace.c @@ -29,5 +29,5 @@ int main () cstr_replace(&s, 22, 1, "!!!"); // "this is a short phrase!!!" (5) printf("(5) %s\n", s.str); - c_dtor(cstr, &s, &m); // destroy + c_del_(cstr, &s, &m); // destroy } -- cgit v1.2.3