summaryrefslogtreecommitdiffstats
path: root/runtime/map-values.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-06-29 19:53:05 +0000
committerhunt <hunt>2005-06-29 19:53:05 +0000
commit05785c11dfdeaf11d98e7d65486a3870d00b5206 (patch)
tree1aca52ed84f664a315881a71970af912623cdd30 /runtime/map-values.c
parent126a29f4cc293f4497b8796c4fa1625236554067 (diff)
downloadsystemtap-steved-05785c11dfdeaf11d98e7d65486a3870d00b5206.tar.gz
systemtap-steved-05785c11dfdeaf11d98e7d65486a3870d00b5206.tar.xz
systemtap-steved-05785c11dfdeaf11d98e7d65486a3870d00b5206.zip
2005-06-29 Martin Hunt <hunt@redhat.com>
* map-values.c (_stp_map_add_int64): Fix docs. * map-str.c: Fix some docs * map.c: Ditto. * map.doc: Ditto.
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)
{