summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-04-30 13:57:24 +0200
committerTyge Løvset <[email protected]>2021-04-30 13:57:24 +0200
commitf68e2c08549c2959b6d17c2a07d24001388b0301 (patch)
treee6fe5d767cf1e02f04101fe0a5c28d9d6e12dd44 /docs
parent5c85fddcd2ef50daede97837b244a3acc4e1ea12 (diff)
downloadSTC-modified-f68e2c08549c2959b6d17c2a07d24001388b0301.tar.gz
STC-modified-f68e2c08549c2959b6d17c2a07d24001388b0301.zip
Internal only: Removed cstr_t and cbits_t: only use cstr and cbits. Finished backporting of csmap_v1.h
Diffstat (limited to 'docs')
-rw-r--r--docs/ccommon_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ccommon_api.md b/docs/ccommon_api.md
index cabd2711..ec546dd6 100644
--- a/docs/ccommon_api.md
+++ b/docs/ccommon_api.md
@@ -71,7 +71,7 @@ cvec_str readFile(const char* name) {
// Next line declares, opens, and closes the FILE*
c_withfile (fp, fopen(name, "r")) {
- cstr_t line = cstr_init();
+ cstr line = cstr_init();
while (cstr_getline(&line, fp))
cvec_str_emplace_back(&vec, line.str);
cstr_del(&line);