#ifndef UCX_HASH_KEY_H
#define UCX_HASH_KEY_H
-#include "stddef.h"
+#include "common.h"
#ifdef __cplusplus
extern "C" {
/** Internal structure for a key within a hash map. */
struct cx_hash_key_s {
/** The key data. */
- union {
- unsigned char *bytes;
- unsigned char const *cbytes;
- char *str;
- char const *cstr;
- void *obj;
- void const *cobj;
- } data;
+ void const *data;
/**
* The key data length.
*/