This class holds variable information (return value of the project.GetVariableList function).
[Type]
class VariableInfo:
VariableName = None
FileName = None
Attribute = None
Type = None
Address = None
Size = None
|
[Variable]
|
|
VariableName
|
This holds the variable name.
|
FileName
|
This holds the full path of the file that the variable is defined.
|
Attribute
|
This holds the attribute.
|
Type
|
This holds the type.
|
Address
|
This holds the address.
|
Size
|
This holds the size.
|
[Detailed description]
[Example of use]
>>>info = project.GetVariableList()
var1 volatile int 0x000014e4 4 C:\project\src\test1.c
var2 static int 0x000014e8 4 C:\project\src\test2.c
>>>print info[0].VariableName
var1
>>>print info[1].FileName
C:\project\src\test2.c
>>>print info[0].Attribute
volatile
>>>print info[0].Type
int
>>>
|