summaryrefslogtreecommitdiffstats
path: root/runtime/map-values.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/map-values.c')
-rw-r--r--runtime/map-values.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/runtime/map-values.c b/runtime/map-values.c
index 9adc9789..f0df9563 100644
--- a/runtime/map-values.c
+++ b/runtime/map-values.c
@@ -25,10 +25,15 @@
#if defined(NEED_INT64_VALS) || defined (NEED_STAT_VALS)
-/** Add an int64 to a map.
+/** Adds an int64 to the current element's value.
+ * This adds an int64 to the current element's value. The map must have been created
+ * to hold int64s or stats.
+ *
+ * If the element doesn't exist, it is created. If no current element (key)
+ * is set for the map, this function does nothing.
+ * @param map
+ * @param val value
* @ingroup map_set
- * @param map
- * @param val int64 value to add
*/
void _stp_map_add_int64 (MAP map, int64_t val)
{