24 lines
304 B
C
24 lines
304 B
C
//
|
|
// Created by lennart on 12/8/23.
|
|
//
|
|
|
|
#include <stdbool.h>
|
|
|
|
#ifndef MAP_H
|
|
|
|
struct _Map;
|
|
typedef struct _Map Map;
|
|
|
|
Map* map_create();
|
|
|
|
void map_put(Map *map, int key, int value);
|
|
|
|
int map_get(Map *map, int key);
|
|
|
|
bool map_has(Map *map, int key);
|
|
|
|
void map_free(Map *map);
|
|
|
|
#define MAP_H
|
|
#endif //MAP_H
|