src/cx/buffer.h

changeset 1029
c065d196a2c8
parent 1028
3e4905241838
child 1030
06091e067bee
--- a/src/cx/buffer.h	Thu Dec 19 21:33:45 2024 +0100
+++ b/src/cx/buffer.h	Fri Dec 20 13:13:38 2024 +0100
@@ -165,6 +165,9 @@
  * you will need to cast the pointer, and you should set the
  * #CX_BUFFER_COPY_ON_WRITE flag.
  *
+ * You need to set the size manually after initialization, if
+ * you provide \p space which already contains data.
+ *
  * When you specify stack memory as \p space and decide to use
  * the auto-extension feature, you \em must use the
  * #CX_BUFFER_COPY_ON_EXTEND flag, instead of the

mercurial