Compare commits

..

No commits in common. "ea6c20f430f4536631f379697ae56fc8b5fd5d17" and "f3e4f8f061e144c6d6bf7e50e2c352f66928befb" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -8,10 +8,7 @@ C library with collections, strings, exceptions, io...
git clone https://timerix.ddns.net/git/Timerix/tlibc.git
```
2. Install [cbuild](https://timerix.ddns.net/git/Timerix/cbuild/releases).
Select latest version compatible with the one in `project.config`.
Example: For `2.3.0` download latest `2.3.x`.
2. Install [cbuild](https://timerix.ddns.net/git/Timerix/cbuild) version specified in `project.config`.
3. Build static library
```

View File

@ -19,7 +19,7 @@ str s = STR("something");
printf(FMT_str"\n", str_expand(s));
*/
#define FMT_str "%.*s"
#define str_expand(S) (S).len, (S).data
#define str_expand(s) s.len, s.data
/// creates str from a string literal
#define STR(LITERAL) str_construct(LITERAL, ARRAY_LEN(LITERAL) - 1, true)