Skip to content

hashtable_init description doesn't match function. #70

@StrikerTheHedgefox

Description

@StrikerTheHedgefox

The function declaration is

void hashtable_init( hashtable_t* table, int key_size, int item_size, int initial_capacity, void* memctx );

but the description says:

hashtable_init
--------------

    void hashtable_init( hashtable_t* table, int item_size, int initial_capacity, void* memctx )

Initialize a hashtable instance. `item_size` specifies the size, in bytes, of the data type holding a single item stored
in the table. `initial_capacity` is the number of items to allocate storage for initially - capacity will automatically
grow as needed, by reallocating memory.

So, I'm unsure what to do here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions