Files
punchie-engine/include/Hashmap.h
T

24 lines
470 B
C

#ifndef HASHMAP_H
#define HASHMAP_H
#include "engine_build_config.h"
#include <stddef.h>
#include <stdint.h>
#ifdef DEBUG_ENGINE
#include <stdio.h>
#endif /* DEBUG_ENGINE */
void init_hashmap();
int32_t add_object_to_map(const char *key);
int32_t get_object_index(const char *key);
int32_t delete_object_from_map(const char *key);
void destroy_hashmap();
#ifdef DEBUG_ENGINE
void print_hashmap();
void print_non_empty();
#endif // DEBUG_ENGINE
#endif // !HASHMAP_H