From 6218bef661615aca3d91a0bc0c8a65b7d61dd6d7 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Sat, 15 Oct 2005 17:50:02 +0000 Subject: [PATCH] Comment-only changes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4934 --- include/pub_tool_oset.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/pub_tool_oset.h b/include/pub_tool_oset.h index 435f679013..6559ce8fa3 100644 --- a/include/pub_tool_oset.h +++ b/include/pub_tool_oset.h @@ -75,7 +75,6 @@ typedef void (*OSetFree_t) ( void* p ); // * Create: allocates an initialises the OSet. Arguments: // - keyOff The offset of the key within the element. -// - elemSize The size of the element. // - cmp The comparison function between keys and elements, or NULL // if the OSet should use fast comparisons. // - alloc The allocation function used for allocating the OSet itself; @@ -110,6 +109,10 @@ extern void VG_(OSet_FreeNode) ( OSet* os, void* elem ); /*--- Operations on OSets ---*/ /*--------------------------------------------------------------------*/ +// In everything that follows, the parameter 'key' is always the *address* +// of the key, and 'elem' is *address* of the elem, as are the return values +// of the functions that return elems. +// // * Size: The number of elements in the set. // // * Contains: Determines if any element in the OSet matches the key. -- 2.47.3