Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add assertions to catch errors early #15

Closed
eerimoq opened this issue May 30, 2016 · 1 comment
Closed

Add assertions to catch errors early #15

eerimoq opened this issue May 30, 2016 · 1 comment

Comments

@eerimoq
Copy link
Owner

eerimoq commented May 30, 2016

Verify that all input arguments in exported functions have valid values and stop the program otherwise.

Print a message with file, line, condition and an optional description when an error occurs.

@eerimoq
Copy link
Owner Author

eerimoq commented May 31, 2016

Implemented in 05bcaf6 to b6bfadd.

Use the compile time configuration variable CONFIG_ASSERT to enable/disable assertions.

@eerimoq eerimoq closed this as completed May 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant