diff options
| author | Tyge Løvset <[email protected]> | 2023-03-27 19:57:09 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-03-27 19:57:09 +0200 |
| commit | e35036deef4fc8f17cc9221e2e666dfdb832ba78 (patch) | |
| tree | b41e45015be7454ef3f82092b558da6b365d6a57 /misc/examples/regex2.c | |
| parent | ede39bc98a758674485796174ea860515ec281e6 (diff) | |
| download | STC-modified-e35036deef4fc8f17cc9221e2e666dfdb832ba78.tar.gz STC-modified-e35036deef4fc8f17cc9221e2e666dfdb832ba78.zip | |
More RAII cleanup in examples. Also removed gauss1.c and new_deq.c
Diffstat (limited to 'misc/examples/regex2.c')
| -rw-r--r-- | misc/examples/regex2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/regex2.c b/misc/examples/regex2.c index 883dd112..3133f7c2 100644 --- a/misc/examples/regex2.c +++ b/misc/examples/regex2.c @@ -16,7 +16,7 @@ int main() }; cregex re = {0}; - c_forrange (i, c_ARRAYLEN(s)) + c_forrange (i, c_arraylen(s)) { int res = cregex_compile(&re, s[i].pattern); if (res < 0) { |
