mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-01-10 20:45:27 +00:00
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
This commit is contained in:
parent
c823931376
commit
0468306245
|
@ -123,20 +123,20 @@ class Module {
|
||||||
void SetLoadAddress(Address load_address);
|
void SetLoadAddress(Address load_address);
|
||||||
|
|
||||||
// Add FUNCTION to the module.
|
// Add FUNCTION to the module.
|
||||||
// Destroying this module frees all Function objects that have been
|
// This module owns all Function objects added with this function:
|
||||||
// added with this function.
|
// destroying the module destroys them as well.
|
||||||
void AddFunction(Function *function);
|
void AddFunction(Function *function);
|
||||||
|
|
||||||
// Add all the functions in [BEGIN,END) to the module.
|
// Add all the functions in [BEGIN,END) to the module.
|
||||||
// Destroying this module frees all Function objects that have been
|
// This module owns all Function objects added with this function:
|
||||||
// added with this function.
|
// destroying the module destroys them as well.
|
||||||
void AddFunctions(vector<Function *>::iterator begin,
|
void AddFunctions(vector<Function *>::iterator begin,
|
||||||
vector<Function *>::iterator end);
|
vector<Function *>::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
|
// it has none, then create one and return a pointer to the new
|
||||||
// file. Destroying this module frees all File objects that have
|
// file. This module owns all File objects created using these
|
||||||
// been created using this function, or with Insert.
|
// functions; destroying the module destroys them as well.
|
||||||
File *FindFile(const string &name);
|
File *FindFile(const string &name);
|
||||||
File *FindFile(const char *name);
|
File *FindFile(const char *name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue