diff options
| author | Tyge Løvset <[email protected]> | 2023-02-05 21:21:55 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-02-05 21:21:55 +0100 |
| commit | e6dfaf1720f6833784d17d5364e1dd76324dff6a (patch) | |
| tree | 0808f479425e58971aef993288bb818e60417422 /misc/examples/sview_split.c | |
| parent | 217865ae413f9cfcc72af176ec7e98f418bddbea (diff) | |
| download | STC-modified-e6dfaf1720f6833784d17d5364e1dd76324dff6a.tar.gz STC-modified-e6dfaf1720f6833784d17d5364e1dd76324dff6a.zip | |
Some last minute changes: reverted mostly the c_extern from last commit.
Renamed c_ARGSV(sv) macro to c_SVARG(sv). Both available.
Diffstat (limited to 'misc/examples/sview_split.c')
| -rw-r--r-- | misc/examples/sview_split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/sview_split.c b/misc/examples/sview_split.c index 2dd21a1a..77caf640 100644 --- a/misc/examples/sview_split.c +++ b/misc/examples/sview_split.c @@ -10,7 +10,7 @@ int main() const csview month = csview_token(date, "/", &pos); const csview day = csview_token(date, "/", &pos); - printf("%.*s, %.*s, %.*s\n", c_ARGSV(year), c_ARGSV(month), c_ARGSV(day)); + printf("%.*s, %.*s, %.*s\n", c_SVARG(year), c_SVARG(month), c_SVARG(day)); c_AUTO (cstr, y, m, d) { y = cstr_from_sv(year), m = cstr_from_sv(month), d = cstr_from_sv(day); |
