24 lines
316 B
C
24 lines
316 B
C
//
|
|
// Created by lennart on 12/8/23.
|
|
//
|
|
|
|
#include <stdbool.h>
|
|
|
|
#ifndef MAP_H
|
|
|
|
struct Map_struct;
|
|
typedef struct Map_struct 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
|