mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 16:57:35 +02:00
WIP
This commit is contained in:
parent
325112e50b
commit
722d077367
1 changed files with 8 additions and 1 deletions
|
@ -976,7 +976,14 @@
|
||||||
((string_type *)s)->num_cp = num_cp;
|
((string_type *)s)->num_cp = num_cp;
|
||||||
((string_type *)s)->str = alloca(sizeof(char) * (len + 1));
|
((string_type *)s)->str = alloca(sizeof(char) * (len + 1));
|
||||||
}
|
}
|
||||||
|
//if (num_cp == 1) { /* Fast path */
|
||||||
memset(((string_type *)s)->str, c, len);
|
memset(((string_type *)s)->str, c, len);
|
||||||
|
//} else {
|
||||||
|
// int i;
|
||||||
|
// uint32_t*
|
||||||
|
// for (i = 0; i < len; i++) {
|
||||||
|
// }
|
||||||
|
//}
|
||||||
((string_type *)s)->str[len] = '\\0';
|
((string_type *)s)->str[len] = '\\0';
|
||||||
return_closcall1(data, k, s);
|
return_closcall1(data, k, s);
|
||||||
")
|
")
|
||||||
|
|
Loading…
Add table
Reference in a new issue