]> mj.ucw.cz Git - libucw.git/commit
One more round of changes to the assert code -- I didn't realize that CONFIG_DEBUG
authorMartin Mares <mj@ucw.cz>
Fri, 29 Oct 2004 15:10:21 +0000 (15:10 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 29 Oct 2004 15:10:21 +0000 (15:10 +0000)
commitc70b0bd774606177c893f6869ece09d0fd1d9034
tree474a1563ccb079b34e42d65025adccf924cd48fc
parentd1bd9f9a0c3d8286cdd85a5d413b59206ebc2fe1
One more round of changes to the assert code -- I didn't realize that CONFIG_DEBUG
is already used to control compilation of debugging utilities. Introduced
DEBUG_ASSERTS as a separate switch and as a bonus, you can use assertions
selectively (previously, if you have built the library without assertions,
ASSERT couldn't work anywhere, because assert_failed() was incompatible).
lib/lib.h
lib/log.c