hashtable_init

Initialize a hashtable object

package nothrow @trusted @nogc
int
hashtable_init

Parameters

hashtable_ .hashtable_t*

The (statically allocated) hashtable object

Initializes a statically allocated hashtable object. The object should be cleared with hashtable_close when it's no longer used.

Return Value

Type: int

0 on success, -1 on error (out of memory).

Meta