diff options
| author | Tyge Løvset <[email protected]> | 2022-12-30 19:26:51 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-30 19:26:51 +0100 |
| commit | 9d59845f622fbb9c225bbe32246a3128ad9ec0b1 (patch) | |
| tree | 528ebcc735cdb5d958b987c886d369bc02a11320 /misc/examples/replace.c | |
| parent | 5f57d597cd27aef55adbcb3b452973b0c6e33667 (diff) | |
| parent | e124d8c7377de1dfce45790a196312596f6b9be5 (diff) | |
| download | STC-modified-9d59845f622fbb9c225bbe32246a3128ad9ec0b1.tar.gz STC-modified-9d59845f622fbb9c225bbe32246a3128ad9ec0b1.zip | |
Merge pull request #41 from tylov/allcaps
Allcaps
Diffstat (limited to 'misc/examples/replace.c')
| -rw-r--r-- | misc/examples/replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/replace.c b/misc/examples/replace.c index 15cf3bae..ca305ecd 100644 --- a/misc/examples/replace.c +++ b/misc/examples/replace.c @@ -11,7 +11,7 @@ int main () // Ustring positions: 0123456789*123456789*12345 cstr s = cstr_from(base); // "this is a test string." cstr m = cstr_clone(s); - c_defer (cstr_drop(&s), cstr_drop(&m)) { + c_DEFER (cstr_drop(&s), cstr_drop(&m)) { cstr_append(&m, cstr_str(&m)); cstr_append(&m, cstr_str(&m)); printf("%s\n", cstr_str(&m)); |
