diff options
| author | Tyge Løvset <[email protected]> | 2023-06-09 22:37:15 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-06-09 22:37:15 +0200 |
| commit | 5f935739d2ce280beda36c7a7ddb0e0ee34c8fb3 (patch) | |
| tree | 2cdd210fefa5eae54a384f980442195659a77fac /README.md | |
| parent | 72b0f0e7839b487a5df7c79ffe84511480cad251 (diff) | |
| download | STC-modified-5f935739d2ce280beda36c7a7ddb0e0ee34c8fb3.tar.gz STC-modified-5f935739d2ce280beda36c7a7ddb0e0ee34c8fb3.zip | |
Rename i_extern template flag to i_import. i_extern still available, but deprecated.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -333,6 +333,7 @@ After erasing the elements found: --- ## Installation +*NEEDS REWRITE!* Because it is headers-only, headers can simply be included in your program. By default, functions are static (some inlined). You may add the *include* folder to the **CPATH** environment variable to let GCC, Clang, and TinyC locate the headers. @@ -345,8 +346,7 @@ You may also cherry-pick shared linking mode on individual containers by `#defin `#define i_implement`, or force static symbols by `#define i_static` before container includes. As a special case, there may be non-templated functions in templated containers that should be implemented only -once and if needed. Currently, define `i_extern` before including **clist** for its sorting function, and before -**cregex** or **utf8** to implement them (global `STC_EXTERN` can alternatively be defined). +once and if needed. Currently, define `i_import` before including **cregex** or **utf8** to implement them. It is possible to generate single headers by executing the python script `src/singleheader.py header-file > single`. @@ -356,7 +356,7 @@ or define your own, e.g.: ```c // stc_libs.c #define STC_IMPLEMENT // implement all the following as shared objects - +#define i_implement #include <stc/cstr.h> #include "Point.h" |
