Add comments on description.

This commit is contained in:
Patrick Pelissier committed 2020-05-20 23:21:27 +02:00
1 parent c488d979cf
commit 8be06cadb3
3 files changed
+82

No files matched your search

+1
View File
@@ -1562,6 +1562,7 @@ string_utf8_p(string_t str)
C++ definition.
*/
#ifndef __cplusplus
/* Initialize a constant string with the given C string */
# define STRING_CTE(s) \
((const string_t){{.u.heap = { .size = sizeof(s)-1, .alloc = sizeof(s) } , \
.ptr = ((struct { long long _n; char _d[sizeof (s)]; }){ 0, s })._d }})