meekrosoft / fff

A testing micro framework for creating function test doubles
Other
777 stars 168 forks source link

Fix for issue 13: Add function prototype to DECLARE_* macro #20

Closed usr42 closed 6 years ago

usr42 commented 7 years ago

This is a fix for issue 13. The function prototype is added to the DECLARE_* macros.

I hope this change is ok for you, because I am not sure if you intentionally did not add the function prototype to the DECLARE_* macros.

Cheers, Balthasar

usr42 commented 7 years ago

@meekrosoft I just solved the merge conflicts.

gatzka commented 7 years ago

Would be nice to have that merged. I stumbled over the same problem.

usr42 commented 6 years ago

@meekrosoft Can this PR be merged? Should anything be changed before?

meekrosoft commented 6 years ago

The main reason why I don't add the function prototype is that is usually already defined in a header. I guess there is no harm in automatically add the prototype though. Thanks for the contribution @usr42 !