I want to get only function prototypes like
int my_func(char, int, float) void my_func1(void) my_func2()
from C files using regex and pytho
The regular expression below consider also the definition of destructor or const functions:
^\s*\~{0,1}[\w_][\w\d_]*\s*.*\s*[\w_][\w\d_]*\s*\(.*\)\s*(const){0,1}$