1 from __future__
import print_function
7 with
open(sys.argv[1],
'r') as f:
9 if 'FunctionDecl' in line
and 'ExtensionFunctions' in line:
10 line = re.sub(
"-FunctionDecl.*line:[0-9]+:[0-9]+",
"", line).lstrip()
11 if not line.startswith(
'| '):
16 for line
in sys.stdin:
17 if 'FunctionDecl' in line
and 'ExtensionFunctions' in line:
18 line = re.sub(
"-FunctionDecl.*line:[0-9]+:[0-9]+",
"", line).lstrip()
19 if not line.startswith(
'| '):
int open(const char *path, int flags, int mode)