Skip to content
Snippets Groups Projects
Commit 9458f991 authored by Nikita Danilov's avatar Nikita Danilov
Browse files

lassert: 0. add LINVRNT() macro for more expensive checks that are disabled by...

lassert: 0. add LINVRNT() macro for more expensive checks that are disabled by default; 1. replace ((void)0) with ((void)!!sizeof(exp)) so that expression is used (though not evaluated) even when assertions are disabled. !! is for things --like bitfields-- that do not have sizeof.
parent 0a4308c2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment