Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make toxcore code C++ compatible. #143
Reviewed 45 of 45 files at r1.
Any specific reason for moving the definition site (and losing
The pointer could be
It's strange for
This can overflow, and such a macro would actually be a nice place to catch it.
If the convention is to return an invalid enum value, I think there should be a macro defined for it (rather than risk pandemonium once another enum value gets added).
Is moving the code from
Comments from Reviewable
I removed reviewable, so I'm going to reply in here: