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:
parent
b4cb4ecb76
commit
0bde2ce901
1 changed files with 8 additions and 0 deletions
|
@ -28,6 +28,7 @@ public class Symbol implements ISymbol, Comparable {
|
||||||
public long addr;
|
public long addr;
|
||||||
public String name;
|
public String name;
|
||||||
public int type;
|
public int type;
|
||||||
|
public long size;
|
||||||
|
|
||||||
public Symbol(BinaryObject bin) {
|
public Symbol(BinaryObject bin) {
|
||||||
binary = bin;
|
binary = bin;
|
||||||
|
@ -89,6 +90,13 @@ public class Symbol implements ISymbol, Comparable {
|
||||||
return line;
|
return line;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.cdt.core.IBinaryParser.ISymbol#getSize()
|
||||||
|
*/
|
||||||
|
public long getSize() {
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
public int compareTo(Object obj) {
|
public int compareTo(Object obj) {
|
||||||
long thisVal = 0;
|
long thisVal = 0;
|
||||||
long anotherVal = 0;
|
long anotherVal = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue