Hi,
I am not able to figure out how to get global and extern variables when I parse a .cpp file. Any help would be appreciated.
Thank you
Use the latest commit 134:03a180869df7
Then for the examples
extern int externVar; int globalVar;
You can use the following examples from my testcases
cppHeader.variables[2]["name"] cppHeader.variables[2]["extern"] cppHeader.variables[3]["name"] cppHeader.variables[3]["extern"]
Log in to post a comment.
Hi,
I am not able to figure out how to get global and extern variables when I parse a .cpp file. Any help would be appreciated.
Thank you
Use the latest commit 134:03a180869df7
Then for the examples
extern int externVar;
int globalVar;
You can use the following examples from my testcases
cppHeader.variables[2]["name"]
cppHeader.variables[2]["extern"]
cppHeader.variables[3]["name"]
cppHeader.variables[3]["extern"]