From 1d4ad83d6f3388982cb0aeadbc9815b4776df504 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Mon, 19 Dec 2022 09:04:23 +0100 Subject: Renames: cstr_null => cstr_NULL csview_null => csview_NULL cstr_npos => c_NPOS csview_npos => c_NPOS c_ARGsv(sv) => c_ARGSV(sv) c_init(x) => c_INIT(x) --- docs/cstr_api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/cstr_api.md') diff --git a/docs/cstr_api.md b/docs/cstr_api.md index 5c7ba41c..1f80e8e4 100644 --- a/docs/cstr_api.md +++ b/docs/cstr_api.md @@ -18,7 +18,7 @@ All cstr definitions and prototypes are available by including a single header f ## Methods ```c -cstr cstr_init(void); // constructor; same as cstr_null. +cstr cstr_init(void); // constructor; same as cstr_NULL. cstr cstr_new(const char literal_only[]); // cstr from literal; no strlen() call. cstr cstr_from(const char* str); // constructor using strlen() cstr cstr_from_n(const char* str, size_t n); // constructor with n first bytes of str @@ -152,8 +152,8 @@ char* cstrnstrn(const char* str, const char* search, size_t slen, size_t | Name | Value | |:------------------|:------------------| -| `cstr_npos` | `INTPTR_MAX` | -| `cstr_null` | cstr null value | +| `c_NPOS` | `INTPTR_MAX` | +| `cstr_NULL` | cstr null value | ## Example ```c -- cgit v1.2.3