ucx/cx/string.h

branch
newapi
changeset 253
087cc9216f28
parent 174
0358f1d9c506
--- a/ucx/cx/string.h	Sun Feb 11 15:44:33 2024 +0100
+++ b/ucx/cx/string.h	Sun Feb 11 22:06:23 2024 +0100
@@ -30,7 +30,6 @@
  * \brief Strings that know their length.
  * \author Mike Becker
  * \author Olaf Wintermann
- * \version 3.0
  * \copyright 2-Clause BSD License
  */
 
@@ -41,6 +40,11 @@
 #include "allocator.h"
 
 /**
+ * The maximum length of the "needle" in cx_strstr() that can use SBO.
+ */
+extern unsigned const cx_strstr_sbo_size;
+
+/**
  * The UCX string structure.
  */
 struct cx_mutstr_s {

mercurial