Returns false otherwise. */
extern bool gl_map_remove (gl_map_t map, const void *key);
-/* Removes a pair from a map and retrieve the previous value.
+/* Removes a pair from a map and retrieves the previous value.
Returns true and sets *OLDVALUEP to the previous value, if the key was found
and its pair removed.
Returns false otherwise. */
#endif
;
-/* Adds a pair to an ordered map and retrieve the previous value.
+/* Adds a pair to an ordered map and retrieves the previous value.
Returns true if a pair with the given key was not already in the map and so
this pair was added.
Returns false and sets *OLDVALUEP to the previous value, if a pair with the
Returns false otherwise. */
extern bool gl_omap_remove (gl_omap_t map, const void *key);
-/* Removes a pair from an ordered map and retrieve the previous value.
+/* Removes a pair from an ordered map and retrieves the previous value.
Returns true and sets *OLDVALUEP to the previous value, if the key was found
and its pair removed.
Returns false otherwise. */