Monado OpenXR Runtime
|
Hashmap for integer values header. More...
#include "xrt/xrt_compiler.h"
Go to the source code of this file.
Typedefs | |
typedef void(* | u_hashmap_int_callback) (void *item, void *priv) |
typedef void(* | u_hashmap_int_foreach_callback) (uint64_t key, const void *value, void *priv_ctx) |
Functions | |
int | u_hashmap_int_create (struct u_hashmap_int **out_hashmap) |
int | u_hashmap_int_destroy (struct u_hashmap_int **hmi) |
int | u_hashmap_int_find (struct u_hashmap_int *hmi, uint64_t key, void **out_item) |
int | u_hashmap_int_insert (struct u_hashmap_int *hmi, uint64_t key, void *value) |
int | u_hashmap_int_erase (struct u_hashmap_int *hmi, uint64_t key) |
bool | u_hashmap_int_empty (const struct u_hashmap_int *hmi) |
Is the hash map empty? More... | |
void | u_hashmap_int_for_each (const struct u_hashmap_int *hmi, u_hashmap_int_foreach_callback cb, void *priv_ctx) |
iterators through each [key,item] pairs of hash map More... | |
void | u_hashmap_int_clear_and_call_for_each (struct u_hashmap_int *hmi, u_hashmap_int_callback cb, void *priv) |
First clear the hashmap and then call the given callback with each item that was in the hashmap. More... | |
Hashmap for integer values header.
bool u_hashmap_int_empty | ( | const struct u_hashmap_int * | hmi | ) |
Is the hash map empty?