pygccxml
pygccxml copied to clipboard
Get line numbers where function is defined
Hi,
I just started testing pygccxml
and I can't find a way to retrieve information about where some function is declared or defined. Is it possible?
For example:
class MyClass { // The class
public: // Access specifier
int foo(int a)
{
return a+1;
}
};
here I expect that function foo
is defind in lines from three to six.