Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
30f00584
Commit
30f00584
authored
Apr 03, 2011
by
Alexandre Duret-Lutz
Browse files
[buddy]
* src/kernel.h (CHECK, CHECKa, CHECKn): Disable if NDEBUG is set.
parent
44aed5cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
buddy/ChangeLog
View file @
30f00584
2011-04-03 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* src/kernel.h (CHECK, CHECKa, CHECKn): Disable if NDEBUG is set.
2011-04-03 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix declaration of bddproduced.
...
...
buddy/src/kernel.h
View file @
30f00584
...
...
@@ -54,7 +54,11 @@
#error The compiler does not support 4 byte integers!
#endif
#ifdef NDEBUG
#define CHECK(r) (void)(r);
#define CHECKa(r,a) (void)(r); (void)(a);
#define CHECKn(r) (void)(r);
#else
/* Sanity check argument and return eventual error code */
#define CHECK(r)\
if (!bddrunning) return bdd_error(BDD_RUNNING);\
...
...
@@ -75,7 +79,7 @@
{ bdd_error(BDD_ILLBDD); return; }\
else if (r >= 2 && LOW(r) == -1)\
{ bdd_error(BDD_ILLBDD); return; }
#endif
/*=== SEMI-INTERNAL TYPES ==============================================*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment