From 896e0e1bd8502a6d7f901f9e13bcd95df5d98635 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 26 May 2023 20:34:07 +0200 Subject: Abstract abstractification --- inc/map.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 inc/map.h (limited to 'inc/map.h') diff --git a/inc/map.h b/inc/map.h new file mode 100644 index 0000000..427cee5 --- /dev/null +++ b/inc/map.h @@ -0,0 +1,14 @@ +// Copyright (c) 2023, Marvin Borner +// SPDX-License-Identifier: MIT + +#ifndef CALM_MAP_H +#define CALM_MAP_H + +#include + +struct term *map_get(hash_t hash); +void map_set(struct term *term, hash_t hash); +void map_initialize(void); +void map_destroy(void); + +#endif -- cgit v1.2.3