mkwrapper.py

- changed logic of parsing prototypes, did not change result
  - change now includes one-line prototype in prototype counters
- added some comments