From 05785c11dfdeaf11d98e7d65486a3870d00b5206 Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 29 Jun 2005 19:53:05 +0000 Subject: 2005-06-29 Martin Hunt * map-values.c (_stp_map_add_int64): Fix docs. * map-str.c: Fix some docs * map.c: Ditto. * map.doc: Ditto. --- runtime/map-values.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'runtime/map-values.c') 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) { -- cgit