aboutsummaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-11-02 14:30:52 +0100
committerMarc André Tanner <mat@brain-dump.org>2020-11-13 11:41:44 +0100
commit2a4edf973fe21ba370318f0c509ea261f3e7b28d (patch)
treef6ae9a09081324a29148885ed9fcd793fdf61bbe /map.h
parent3d3bacd8f64f7e11519711a8d348c5e99d9e2ee3 (diff)
downloadvis-2a4edf973fe21ba370318f0c509ea261f3e7b28d.tar.gz
vis-2a4edf973fe21ba370318f0c509ea261f3e7b28d.tar.xz
map: remove no longer used map_leaf function
Diffstat (limited to 'map.h')
-rw-r--r--map.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/map.h b/map.h
index bfda118..54dd22b 100644
--- a/map.h
+++ b/map.h
@@ -35,11 +35,6 @@ void *map_closest(const Map*, const char *prefix);
*/
bool map_contains(const Map*, const char *prefix);
/**
- * Check whether the given prefix can be extended to exactly one map element.
- * True iff the prefix map contains exactly one element.
- */
-bool map_leaf(const Map*, const char *prefix);
-/**
* Store a key value pair in the map.
* @return False if we run out of memory (``errno = ENOMEM``), or if the key
* already appears in the map (``errno = EEXIST``).