Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Functions
hashtable.c File Reference
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "hashtable.h"

Data Structures

struct  HashNode
 
struct  HashTable
 

Functions

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

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  elemSize 
)

◆ hashtable_query()

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