src/cx/string.h

changeset 1224
e20e100fa71f
parent 1223
be4c13de7c4f
equal deleted inserted replaced
1223:be4c13de7c4f 1224:e20e100fa71f
149 * 149 *
150 * The argument MUST be a string (const char*) @em literal. 150 * The argument MUST be a string (const char*) @em literal.
151 * 151 *
152 * @param literal the string literal 152 * @param literal the string literal
153 */ 153 */
154 #define CX_STR(literal) (cxstring){literal, sizeof(literal) - 1} 154 #define CX_STR(literal) ((cxstring){literal, sizeof(literal) - 1})
155 155
156 #endif 156 #endif
157 157
158 158
159 /** 159 /**

mercurial