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) |
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) |
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.
typedef void(* u_hashmap_int_callback) (void *item, void *priv) |
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_erase | ( | struct u_hashmap_int * | hmi, |
uint64_t | key | ||
) |
References u_hashmap_int::map.
int u_hashmap_int_find | ( | struct u_hashmap_int * | hmi, |
uint64_t | key, | ||
void ** | out_item | ||
) |
References u_hashmap_int::map.
int u_hashmap_int_insert | ( | struct u_hashmap_int * | hmi, |
uint64_t | key, | ||
void * | value | ||
) |
References u_hashmap_int::map.