pygccxml icon indicating copy to clipboard operation
pygccxml copied to clipboard

Get line numbers where function is defined

Open kerim371 opened this issue 3 years ago • 0 comments

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.

kerim371 avatar Sep 15 '21 01:09 kerim371