From b89c81e048778ccab8ea047ae6065273fa1f45ca Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 27 Mar 2007 06:46:03 +0000 Subject: [PATCH] clarify comment git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6674 --- include/pub_tool_tooliface.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/pub_tool_tooliface.h b/include/pub_tool_tooliface.h index 77e6761e3e..065b637c58 100644 --- a/include/pub_tool_tooliface.h +++ b/include/pub_tool_tooliface.h @@ -368,7 +368,9 @@ extern void VG_(needs_superblock_discards) ( /* Tool defines its own command line options? */ extern void VG_(needs_command_line_options) ( // Return True if option was recognised. Presumably sets some state to - // record the option as well. + // record the option as well. Nb: tools can assume that the argv will + // never disappear. So they can, for example, store a pointer to a string + // within an option, rather than having to make a copy. Bool (*process_cmd_line_option)(Char* argv), // Print out command line usage for options for normal tool operation. -- 2.47.2