summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/clist_api.md1
-rw-r--r--docs/cregex_api.md4
-rw-r--r--docs/csview_api.md4
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()
{