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 /docs | |
| 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 'docs')
| -rw-r--r-- | docs/clist_api.md | 1 | ||||
| -rw-r--r-- | docs/cregex_api.md | 4 | ||||
| -rw-r--r-- | docs/csview_api.md | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/docs/clist_api.md b/docs/clist_api.md index 36935c88..51b7af6a 100644 --- a/docs/clist_api.md +++ b/docs/clist_api.md @@ -118,7 +118,6 @@ Interleave *push_front()* / *push_back()* then *sort()*: ```c #define i_type DList #define i_val double -#define i_extern // link with sort() fn. #include <stc/clist.h> #include <stdio.h> diff --git a/docs/cregex_api.md b/docs/cregex_api.md index fc86cc63..ff69c549 100644 --- a/docs/cregex_api.md +++ b/docs/cregex_api.md @@ -99,7 +99,7 @@ If an error occurs ```cregex_compile``` returns a negative error code stored in [ [Run this code](https://godbolt.org/z/z434TMKfo) ] ```c -#define i_extern // include external cstr, utf8, cregex functions implementation. +#define i_import // include dependent cstr, utf8 and cregex function definitions. #include <stc/cregex.h> int main() { @@ -151,7 +151,7 @@ c_formatch (it, &re, input) ## Using cregex in a project -The easiest is to `#define i_extern` before `#include <stc/cregex.h>`. Make sure to do that in one translation unit only. +The easiest is to `#define i_import` before `#include <stc/cregex.h>`. Make sure to do that in one translation unit only. For reference, **cregex** uses the following files: - `stc/cregex.h`, `stc/utf8.h`, `stc/csview.h`, `stc/cstr.h`, `stc/ccommon.h`, `stc/forward.h` diff --git a/docs/csview_api.md b/docs/csview_api.md index b697b7d6..879822d3 100644 --- a/docs/csview_api.md +++ b/docs/csview_api.md @@ -148,8 +148,8 @@ red Apples ### Example 2: UTF8 handling ```c -#define i_extern -#include <stc/cstr.h> // i_extern: implement cstr + dependencies (utf8) +#define i_import // include dependent cstr, utf8 and cregex function definitions. +#include <stc/cstr.h> int main() { |
