MOS Source Code
Loading...
Searching...
No Matches
hashmap_t Struct Reference

#include <hashmap.h>

+ Collaboration diagram for hashmap_t:

Public Attributes

s32 magic
 
hashmap_entry_t ** entries
 
size_t capacity
 
size_t size
 
hashmap_hash_t hash_func
 
hashmap_key_compare_t key_compare_func
 
spinlock_t lock
 

Detailed Description

Definition at line 22 of file hashmap.h.

Member Data Documentation

◆ magic

◆ entries

◆ capacity

◆ size

◆ hash_func

◆ key_compare_func

◆ lock

spinlock_t lock

Definition at line 30 of file hashmap.h.

Referenced by hashmap_deinit(), hashmap_get(), hashmap_put(), and hashmap_remove().


The documentation for this struct was generated from the following file: