1192:1f69336faa63 | 1193:cfa44f3f5e3b |
---|---|
50 */ | 50 */ |
51 struct cx_mutstr_s { | 51 struct cx_mutstr_s { |
52 /** | 52 /** |
53 * A pointer to the string. | 53 * A pointer to the string. |
54 * @note The string is not necessarily @c NULL terminated. | 54 * @note The string is not necessarily @c NULL terminated. |
55 * Always use the length. | |
56 */ | 55 */ |
57 char *ptr; | 56 char *ptr; |
58 /** The length of the string */ | 57 /** The length of the string */ |
59 size_t length; | 58 size_t length; |
60 }; | 59 }; |
69 */ | 68 */ |
70 struct cx_string_s { | 69 struct cx_string_s { |
71 /** | 70 /** |
72 * A pointer to the immutable string. | 71 * A pointer to the immutable string. |
73 * @note The string is not necessarily @c NULL terminated. | 72 * @note The string is not necessarily @c NULL terminated. |
74 * Always use the length. | |
75 */ | 73 */ |
76 const char *ptr; | 74 const char *ptr; |
77 /** The length of the string */ | 75 /** The length of the string */ |
78 size_t length; | 76 size_t length; |
79 }; | 77 }; |