Tinyhash
This is a library containing multiple C implementations of hashmap.
Loading...
Searching...
No Matches
Macros
table.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TH_TABLE_NEXT_CAPACITY(capacity)   (capacity) == 0 ? 8 : (capacity) * 2
 Generate the next capacity value absed on a previous one.
 

Macro Definition Documentation

◆ TH_TABLE_NEXT_CAPACITY

#define TH_TABLE_NEXT_CAPACITY ( capacity)    (capacity) == 0 ? 8 : (capacity) * 2

Generate the next capacity value absed on a previous one.

Definition at line 8 of file table.h.

Referenced by th_oa_table_increase(), and th_sc_table_increase().