src/string.c

changeset 926
8fdd8d78c14b
parent 890
54565fd74e74
equal deleted inserted replaced
925:fd6e191f3268 926:8fdd8d78c14b
234 } 234 }
235 235
236 #ifndef CX_STRSTR_SBO_SIZE 236 #ifndef CX_STRSTR_SBO_SIZE
237 #define CX_STRSTR_SBO_SIZE 512 237 #define CX_STRSTR_SBO_SIZE 512
238 #endif 238 #endif
239 unsigned const cx_strstr_sbo_size = CX_STRSTR_SBO_SIZE; 239 const unsigned cx_strstr_sbo_size = CX_STRSTR_SBO_SIZE;
240 240
241 cxstring cx_strstr( 241 cxstring cx_strstr(
242 cxstring haystack, 242 cxstring haystack,
243 cxstring needle 243 cxstring needle
244 ) { 244 ) {

mercurial