1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

implement ISymbol.getSize()

This commit is contained in:
Alain Magloire 2004-01-09 22:08:38 +00:00
parent b4cb4ecb76
commit 0bde2ce901

View file

@ -28,6 +28,7 @@ public class Symbol implements ISymbol, Comparable {
public long addr;
public String name;
public int type;
public long size;
public Symbol(BinaryObject bin) {
binary = bin;
@ -89,6 +90,13 @@ public class Symbol implements ISymbol, Comparable {
return line;
}
/* (non-Javadoc)
* @see org.eclipse.cdt.core.IBinaryParser.ISymbol#getSize()
*/
public long getSize() {
return size;
}
public int compareTo(Object obj) {
long thisVal = 0;
long anotherVal = 0;