src/cx/hash_key.h

changeset 1653
6a842bd49fea
parent 1448
0f0fe7311b76
equal deleted inserted replaced
1652:db8299984bfe 1653:6a842bd49fea
234 * @return zero when the keys equal, non-zero when they differ 234 * @return zero when the keys equal, non-zero when they differ
235 */ 235 */
236 cx_attr_nodiscard cx_attr_nonnull 236 cx_attr_nodiscard cx_attr_nonnull
237 CX_EXPORT int cx_hash_key_cmp(const void *left, const void *right); 237 CX_EXPORT int cx_hash_key_cmp(const void *left, const void *right);
238 238
239 /**
240 * Interprets the key data as a string and returns it.
241 *
242 * @param key the key
243 * @return the key data as a string
244 */
245 CX_EXPORT cxstring cx_hash_key_as_string(const CxHashKey *key);
246
239 #ifdef __cplusplus 247 #ifdef __cplusplus
240 } // extern "C" 248 } // extern "C"
241 249
242 // ---------------------------------------------------------- 250 // ----------------------------------------------------------
243 // Overloads of CX_HASH_KEY (the C++ version of a _Generic) 251 // Overloads of CX_HASH_KEY (the C++ version of a _Generic)

mercurial