* lib/gl_linkedhash_map.c (struct gl_map_impl): Mark the table field as
counted_by table_size. Swap these fields (needed for clang).
+2026-05-03 Bruno Haible <bruno@clisp.org>
+
+ linkedhash-map: Use the counted_by attribute.
+ * lib/gl_linkedhash_map.c (struct gl_map_impl): Mark the table field as
+ counted_by table_size. Swap these fields (needed for clang).
+
2026-05-03 Bruno Haible <bruno@clisp.org>
hash-map: Use the counted_by attribute.
struct gl_map_impl_base base;
gl_mapkey_hashcode_fn hashcode_fn;
/* A hash table: managed as an array of collision lists. */
- struct gl_hash_entry **table;
size_t table_size;
+ struct gl_hash_entry **table
+ _GL_ATTRIBUTE_COUNTED_BY (table_size);
/* A circular list anchored at root.
The first node is = root.next, the last node is = root.prev.
The root's value is unused. */