1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Fix API tooling (add @since 5.1 to mapSectionData)

This commit is contained in:
James Blackburn 2009-04-04 11:52:12 +00:00
parent d9addda21a
commit f91784b229

View file

@ -335,6 +335,9 @@ public class Elf {
public long sh_addralign;
public long sh_entsize;
/**
* @since 5.1
*/
public ByteBuffer mapSectionData() throws IOException {
return efile.getChannel().map(MapMode.READ_ONLY, sh_offset, sh_size).load().asReadOnlyBuffer();
}