Add some text describing how to create useful assertion messages.
Improve and add to the EXAMPLES.
Differential D44434
KASSERT(9): add assertion message guidelines mhorne on Mar 19 2024, 5:44 PM. Authored by Tags None Referenced Files
Details Add some text describing how to create useful assertion messages. Improve and add to the EXAMPLES.
Diff Detail
Event Timeline
Comment Actions I really wish we could transition KASSERT gracefully to using __VA_ARGS__ and away from the nested ()'s, but I'm not sure of a good way to permit both syntaxes concurrently.
Comment Actions I had a student use an interesting mix of _Generic and VA_ARGS to accomplish similar things, but you'd have to make some assumption... I'll see if I can tweak something...
Comment Actions Thank you!
|