From f91784b229484c5c6d53e738c0d46b899e882cc5 Mon Sep 17 00:00:00 2001 From: James Blackburn Date: Sat, 4 Apr 2009 11:52:12 +0000 Subject: [PATCH] Fix API tooling (add @since 5.1 to mapSectionData) --- .../utils/org/eclipse/cdt/utils/elf/Elf.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java index 3907e875aa9..ae7466f0eba 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java @@ -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(); }