src/cx/string.h

changeset 806
e06249e09f99
parent 759
475335643af4
equal deleted inserted replaced
805:26500fc24058 806:e06249e09f99
36 #ifndef UCX_STRING_H 36 #ifndef UCX_STRING_H
37 #define UCX_STRING_H 37 #define UCX_STRING_H
38 38
39 #include "common.h" 39 #include "common.h"
40 #include "allocator.h" 40 #include "allocator.h"
41
42 /**
43 * The maximum length of the "needle" in cx_strstr() that can use SBO.
44 */
45 extern unsigned const cx_strstr_sbo_size;
41 46
42 /** 47 /**
43 * The UCX string structure. 48 * The UCX string structure.
44 */ 49 */
45 struct cx_mutstr_s { 50 struct cx_mutstr_s {

mercurial