aboutsummaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-12-05 12:41:31 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-12-16 11:28:44 -0700
commitbafcf13695f80dac6d9be87b65ad6156ddc3d621 (patch)
tree95c9c70928fe7b90cbf1fa66013e41d3a90c3fce /map.h
parent1d1d19ed30309b39fc5e43c830cabb4cdd004d07 (diff)
downloadvis-bafcf13695f80dac6d9be87b65ad6156ddc3d621.tar.gz
vis-bafcf13695f80dac6d9be87b65ad6156ddc3d621.tar.xz
delete functions which were exposed as unused
Diffstat (limited to 'map.h')
-rw-r--r--map.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/map.h b/map.h
index 490b4d9..8d4139c 100644
--- a/map.h
+++ b/map.h
@@ -35,13 +35,6 @@ VIS_INTERNAL void *map_first(const Map *map, const char **key);
*/
VIS_INTERNAL void *map_closest(const Map *map, const char *prefix);
/**
- * Check whether the map contains the given prefix, or
- * whether it can be extended to match a key of a map element.
- * @param map The map to check.
- * @param prefix The prefix to search for.
- */
-VIS_INTERNAL bool map_contains(const Map *map, const char *prefix);
-/**
* Store a key value pair in the map.
* @param map The map to store the key-value pair in.
* @param key The key to store.
@@ -97,13 +90,5 @@ VIS_INTERNAL void map_clear(Map *map);
* @param map The map to free.
*/
VIS_INTERNAL void map_free(Map *map);
-/**
- * Call `free(3)` for every map element, then free the map itself.
- * @param map The map to free its elements and itself.
- * @rst
- * .. warning:: Assumes map elements to be pointers.
- * @endrst
- */
-VIS_INTERNAL void map_free_full(Map *map);
#endif