Update to 2.0.0 tree from current Fremantle build
[opencv] / doc / plastex / find_function_names.sh
1 #!/bin/bash
2 grep ".. cfunction::" *.rst -h |
3 python -c "import sys
4 print \"opencv_function_names = [\"
5 for line in sys.stdin.readlines():
6     fname = line.split()[3].strip(' (')
7     bpos = fname.find('(')
8     if bpos >= 0:
9         fname = fname[:bpos]
10     print \"'%s',\" % fname
11 print \"]\"" > function_names.py