mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
Break out default pbytes argument to read and get_view routines,
adding new routines.
This commit is contained in:
@@ -98,8 +98,12 @@ class Archive
|
||||
|
||||
// Get a view into the underlying file.
|
||||
const unsigned char*
|
||||
get_view(off_t start, off_t size, off_t* pbytes = NULL)
|
||||
{ return this->input_file_->file().get_view(start, size, pbytes); }
|
||||
get_view(off_t start, off_t size)
|
||||
{ return this->input_file_->file().get_view(start, size); }
|
||||
|
||||
const unsigned char*
|
||||
get_view_and_size(off_t start, off_t size, off_t* pbytes)
|
||||
{ return this->input_file_->file().get_view_and_size(start, size, pbytes); }
|
||||
|
||||
// Read the archive symbol map.
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user