src/cx/hash_key.h

changeset 690
2c2304622981
parent 681
502105523db7
child 759
475335643af4
     1.1 --- a/src/cx/hash_key.h	Thu Apr 20 19:13:25 2023 +0200
     1.2 +++ b/src/cx/hash_key.h	Fri Apr 21 18:38:18 2023 +0200
     1.3 @@ -47,14 +47,7 @@
     1.4  /** Internal structure for a key within a hash map. */
     1.5  struct cx_hash_key_s {
     1.6      /** The key data. */
     1.7 -    union {
     1.8 -        unsigned char *bytes;
     1.9 -        unsigned char const *cbytes;
    1.10 -        char *str;
    1.11 -        char const *cstr;
    1.12 -        void *obj;
    1.13 -        void const *cobj;
    1.14 -    } data;
    1.15 +    void const *data;
    1.16      /**
    1.17       * The key data length.
    1.18       */

mercurial