diff options
| author | Thomas Hallgren <th-github@altocumulus.org> | 2019-08-21 14:33:30 +0200 |
|---|---|---|
| committer | Thomas Hallgren <th-github@altocumulus.org> | 2019-08-21 14:33:30 +0200 |
| commit | a7a592d93ed28aeb1d3243f2438685071102a302 (patch) | |
| tree | 3fdeaf7430ca3efa77420946734a225ee6c31eed /src/runtime/c/gu/map.h | |
| parent | d1bb1de87f1f5c1189f7a19fc712835e976957bd (diff) | |
| parent | 394d033d194df8c63eea7a0eca444168ae74844e (diff) | |
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
Diffstat (limited to 'src/runtime/c/gu/map.h')
| -rw-r--r-- | src/runtime/c/gu/map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/c/gu/map.h b/src/runtime/c/gu/map.h index ffd937a01..aaea06a08 100644 --- a/src/runtime/c/gu/map.h +++ b/src/runtime/c/gu/map.h @@ -62,6 +62,9 @@ gu_map_has(GuMap* ht, const void* key); GU_API_DECL void* gu_map_insert(GuMap* ht, const void* key); +GU_API_DECL void +gu_map_delete(GuMap* ht, const void* key); + #define gu_map_put(MAP, KEYP, V, VAL) \ GU_BEGIN \ V* gu_map_put_p_ = gu_map_insert((MAP), (KEYP)); \ |
