summaryrefslogtreecommitdiffhomepage
path: root/examples/replace.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-15 22:43:41 +0200
committerTyge Løvset <[email protected]>2020-09-15 22:43:41 +0200
commitf4435af2fc9e9187f7be0149c2eb916db27cb257 (patch)
tree117429619290d165b7a3001f21f3c0e7f37a1045 /examples/replace.c
parentf539099575e14aea9f2e043b9af33d05c47399ad (diff)
downloadSTC-modified-f4435af2fc9e9187f7be0149c2eb916db27cb257.tar.gz
STC-modified-f4435af2fc9e9187f7be0149c2eb916db27cb257.zip
New API Change.
Diffstat (limited to 'examples/replace.c')
-rw-r--r--examples/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/replace.c b/examples/replace.c
index 6e5fe024..bcc4952e 100644
--- a/examples/replace.c
+++ b/examples/replace.c
@@ -11,7 +11,7 @@ int main ()
// replace signatures used in the same order as described above:
// Ustring positions: 0123456789*123456789*12345
- cstr_t s = cstr_make(base); // "this is a test string."
+ cstr_t s = cstr(base); // "this is a test string."
cstr_t m = cstr_clone(s);
cstr_append(&m, m.str);