fix generate_prototype off by 1 causing prototypes to be omitted
Merge pull request #3 from Blub/blub/cooking

fix generate_prototype off by 1 causing prototypes to be omitted