summaryrefslogtreecommitdiffstats
path: root/Source/cmELF.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-01 17:50:42 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-01 17:50:42 (GMT)
commit61178a0682a024e03e6fe41897b40bb096611f7a (patch)
treeb24cd7f1444bde15663d462b858b69268b5af887 /Source/cmELF.h
parentb2cf4db2010ae0c08cd063b7aa8136fd512d8a97 (diff)
downloadCMake-61178a0682a024e03e6fe41897b40bb096611f7a.zip
CMake-61178a0682a024e03e6fe41897b40bb096611f7a.tar.gz
CMake-61178a0682a024e03e6fe41897b40bb096611f7a.tar.bz2
ENH: Add Size member to cmELF::StringEntry to return the amount of space in the string entry.
Diffstat (limited to 'Source/cmELF.h')
-rw-r--r--Source/cmELF.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmELF.h b/Source/cmELF.h
index 716b3d2..38f1462 100644
--- a/Source/cmELF.h
+++ b/Source/cmELF.h
@@ -62,6 +62,10 @@ public:
// The position in the file at which the string appears.
unsigned long Position;
+
+ // The size of the string table entry. This includes the space
+ // allocated for one or more null terminators.
+ unsigned long Size;
};
/** Get the type of the file opened. */