Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Typedefs | Functions
hashtable.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int(* HashFunc) (const void *item)
 
typedef int(* HashValueCmpFunc) (const void *a, const void *b)
 

Functions

struct HashTablehashtable_new (HashFunc func, HashValueCmpFunc cmp, int size, int valueSize)
 
void hashtable_free (struct HashTable *ht)
 
void hashtable_insert (struct HashTable *ht, const void *value)
 
voidhashtable_query (struct HashTable *ht, const void *value)
 

Typedef Documentation

◆ HashFunc

typedef unsigned int(* HashFunc) (const void *item)

◆ HashValueCmpFunc

typedef int(* HashValueCmpFunc) (const void *a, const void *b)

Function Documentation

◆ hashtable_free()

void hashtable_free ( struct HashTable ht)

◆ hashtable_insert()

void hashtable_insert ( struct HashTable ht,
const void value 
)

◆ hashtable_new()

struct HashTable* hashtable_new ( HashFunc  func,
HashValueCmpFunc  cmp,
int  size,
int  valueSize 
)

◆ hashtable_query()

void* hashtable_query ( struct HashTable ht,
const void value 
)