From 04683062456ed17ca4e1b890ec8a5e160287eaf3 Mon Sep 17 00:00:00 2001 From: jimblandy Date: Wed, 23 Dec 2009 21:56:41 +0000 Subject: Breakpad Linux Dumper: Fix up comments in google_breakpad::Module interface. Use the term "own", since ownership is the concept at work here. a=jimblandy, r=nealsid git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@468 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/linux/module.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/common/linux/module.h b/src/common/linux/module.h index 89ff06e5..a20780a3 100644 --- a/src/common/linux/module.h +++ b/src/common/linux/module.h @@ -123,20 +123,20 @@ class Module { void SetLoadAddress(Address load_address); // Add FUNCTION to the module. - // Destroying this module frees all Function objects that have been - // added with this function. + // This module owns all Function objects added with this function: + // destroying the module destroys them as well. void AddFunction(Function *function); // Add all the functions in [BEGIN,END) to the module. - // Destroying this module frees all Function objects that have been - // added with this function. + // This module owns all Function objects added with this function: + // destroying the module destroys them as well. void AddFunctions(vector::iterator begin, vector::iterator end); - // If this module has a file named NAME, return a pointer to it. If + // If this module has a file named NAME, return a pointer to it. If // it has none, then create one and return a pointer to the new - // file. Destroying this module frees all File objects that have - // been created using this function, or with Insert. + // file. This module owns all File objects created using these + // functions; destroying the module destroys them as well. File *FindFile(const string &name); File *FindFile(const char *name); -- cgit v1.2.1