summaryrefslogtreecommitdiffhomepage
path: root/docs/cstr_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-06-01 10:33:00 +0200
committerTyge Løvset <[email protected]>2022-06-01 10:33:00 +0200
commitd7a19420e0aec71a2a840f68a54549c8a951f929 (patch)
treed804c815661c4e5ae9c2a67eeed85cfe0b819b55 /docs/cstr_api.md
parentc25b6d39f4ebbc1785108fd248b67fe9e8c95e92 (diff)
downloadSTC-modified-d7a19420e0aec71a2a840f68a54549c8a951f929.tar.gz
STC-modified-d7a19420e0aec71a2a840f68a54549c8a951f929.zip
Update docs regarding i_implement for cstr, cview, cbits, ...
Diffstat (limited to 'docs/cstr_api.md')
-rw-r--r--docs/cstr_api.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md
index 24f51d32..cd827dc6 100644
--- a/docs/cstr_api.md
+++ b/docs/cstr_api.md
@@ -10,6 +10,7 @@ See the c++ class [std::basic_string](https://en.cppreference.com/w/cpp/string/b
All cstr definitions and prototypes are available by including a single header file.
```c
+#define i_implement // define this (or use global STC_IMPLEMENT) in one source file only!
#include <stc/cstr.h>
```
## Methods
@@ -131,6 +132,7 @@ int c_strncasecmp(const char* str1, const char* str2, size_t n);
## Example
```c
+#define i_implement
#include <stc/cstr.h>
int main() {