mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-11 03:11:49 +00:00
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* use hashmaps in mod cache * use templates, suggested by peachy an attempt to do what peachy is talking about * that looks unusual * change data to key parameter
26 lines
716 B
C
26 lines
716 B
C
#ifndef DYNOS_CMAP_CPP_H
|
|
#define DYNOS_CMAP_CPP_H
|
|
#endif
|
|
|
|
#ifndef __cplusplus
|
|
|
|
void* hmap_create(bool useUnordered);
|
|
void* hmap_get(void* map, int64_t k);
|
|
void hmap_put(void* map, int64_t k, void* v);
|
|
void hmap_del(void* map, int64_t k);
|
|
void hmap_clear(void* map);
|
|
void hmap_destroy(void* map);
|
|
size_t hmap_len(void* map);
|
|
|
|
void* hmap_begin(void* map);
|
|
void* hmap_next(void* map);
|
|
|
|
void* hmap_data_create(void);
|
|
void* hmap_data_get(void* map, const char* key, size_t len);
|
|
void hmap_data_put(void* map, const char* key, size_t len, void* value);
|
|
void hmap_data_del(void* map, const char* key, size_t len);
|
|
void hmap_data_clear(void* map);
|
|
void hmap_data_destroy(void* map);
|
|
size_t hmap_data_len(void* map);
|
|
|
|
#endif
|