docs/Writerside/topics/string.h.md

changeset 1644
bbe3199e37fc
parent 1582
32b82c424252
--- a/docs/Writerside/topics/string.h.md	Sat Dec 20 11:11:58 2025 +0100
+++ b/docs/Writerside/topics/string.h.md	Sun Dec 21 11:09:46 2025 +0100
@@ -39,10 +39,10 @@
 
 cxmutstr cx_strdup_a(const CxAllocator *allocator, AnyStr string);
 
-int cx_strcpy(cxmutstr *dest, cxstring source);
+int cx_strcpy(cxmutstr *dest, AnyStr source);
 
 int cx_strcpy_a(const CxAllocator *allocator,
-        cxmutstr *dest, cxstring source);
+        cxmutstr *dest, AnyStr source);
 
 void cx_strfree(cxmutstr *str);
 
@@ -131,7 +131,7 @@
 size_t cx_strlen(size_t count, ...);
 ```
 
-The `cx_strcat_a()` function takes `count` UCX strings,
+The `cx_strcat_a()` function takes `count` UCX strings (`cxstring` or `cxmutstr`),
 allocates memory for a concatenation of those strings _with a single allocation_,
 and copies the contents of the strings to the new memory.
 `cx_strcat()` is equivalent, except that it uses the [default allocator](allocator.h.md#default-allocator).

mercurial