NetworkManager/include
Thomas Haller 08ecafd2bf build: add --enable-more-asserts configure option and nm_assert() macro
NM already has two kinds of assertions:
 - g_assert*(), conditionally compiled via #ifndef G_DISABLE_ASSERT
 - g_return*(), conditionally compiled via #ifndef G_DISABLE_CHECKS

In theory, one should be able to disable both asserts and NM should
still work correctly (and possibly more efficient). In practice,
hardly anybody is testing such a configuration and it might be broken.
Especially, we don't disable asserts for production builds, both because
of less test coverage and because it might reduce our ability to debug.

Add a new configure option --enable-more-asserts, which defines
NM_MORE_ASSERTS and nm_assert(). This is for expensive asserts,
that -- contrary to the asserts above -- are disabled by default.
This is useful for extended debugging.
2015-04-10 18:06:59 +02:00
..
gsystem-local-alloc.h libgsystem: update copy of gsystem-local-alloc.h 2015-03-12 18:09:29 +01:00
Makefile.am include: drop nm-settings-flags.h, move NMSecretAgentGetSecretsFlags 2014-08-01 14:34:39 -04:00
nm-dbus-glib-types.h core: fix new NMIP4Config and NMIP6Config properties 2014-11-07 11:09:35 -05:00
nm-glib-compat.h glib-compat: sync local definition of g_clear_pointer() with upstream glib and remove atomic operations 2014-11-12 11:11:41 +01:00
nm-gvaluearray-compat.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-test-utils.h test: print NMTST_SEED_RAND value with g_print() 2015-04-10 18:06:20 +02:00
nm-utils-internal.h build: add --enable-more-asserts configure option and nm_assert() macro 2015-04-10 18:06:59 +02:00