summaryrefslogtreecommitdiff
path: root/src/libnm-std-aux/nm-std-aux.h
Commit message (Expand)AuthorAgeFilesLines
* std-aux/trivial: add code comment to NM_IS_IPv4()Thomas Haller2023-03-081-0/+3
* std-aux: suppress verbose assert message with _nm_assert_fail()Thomas Haller2023-02-131-7/+6
* Revert "std-aux: drop assertion and function name from assert() in release mode"Thomas Haller2023-02-131-19/+0
* std-aux: add _NM_PTR_IS_ALIGNED() helper macroThomas Haller2022-12-161-7/+19
* std-aux: allow nesting of NM_CAST_ALIGN() macrosThomas Haller2022-12-141-7/+8
* std-aux: add NM_CAST_ALIGN() helperThomas Haller2022-12-091-0/+16
* std-aux: mark failures of nm_assert() as unreachable codeThomas Haller2022-12-061-14/+20
* std-aux: mark _nm_assert_fail() as _nm_unreachable_code() with NDEBUG/G_DISAB...Thomas Haller2022-12-061-0/+2
* std-aux: add _nm_unreachable_code() macro to wrap __builtin_unreachable()Thomas Haller2022-12-061-0/+8
* std-aux: make NM_BOOLEAN_EXPR() a constant expression for constant argumentsThomas Haller2022-12-061-1/+9
* std-aux: fix _NM_ASSERT_FAIL_ENABLED for plain assert() and NDEBUGThomas Haller2022-12-061-1/+1
* std-aux: implement static-asserts via bitfieldsThomas Haller2022-11-231-3/+2
* std-aux: add code comment to NM_BOOLEAN_EXPR()Thomas Haller2022-11-041-0/+9
* std-aux: fix NM_LIKELY()/NM_UNLIKELY() macrosBeniamino Galvani2022-11-041-4/+4
* std-aux: fix build error due to __assert_fail() missing with NDEBUGThomas Haller2022-10-291-1/+5
* std-aux: assert against any EBADF error in nm_close()Thomas Haller2022-10-251-1/+11
* all: cleanup close() handling and clarify nm_close()/nm_close_with_error()Thomas Haller2022-10-251-36/+87
* std-aux: drop assertion and function name from assert() in release modeThomas Haller2022-10-251-0/+19
* std-aux,glib-aux: rework nm_assert() implementationsThomas Haller2022-10-251-44/+53
* std-aux: add _nm_noreturn macroThomas Haller2022-10-251-0/+1
* std-aux: add NM_ALIGN*() macrosThomas Haller2022-10-251-0/+18
* std-aux: add nm_memcpy() helper for handling copy of zero bytesThomas Haller2022-10-241-0/+11
* std-aux: workaround unused variable with clang and nm_auto macroThomas Haller2022-10-201-2/+2
* all: avoid "-Wunreachable-code-generic-assoc" warning with _Generic()Thomas Haller2022-10-111-6/+2
* std-aux: add _nm_always_inline for "__attribute__((__always_inline__))"Thomas Haller2022-10-111-0/+1
* std-aux: workaround unused variable warning with clang 14 and nm_auto cleanup...Thomas Haller2022-10-071-2/+2
* std-aux/trivial: fix typo in code commentThomas Haller2022-09-281-1/+1
* std-aux: workaround maybe uninitialized warning with LTO on nm_ip_addr_is_null()Thomas Haller2022-08-251-6/+3
* std-aux: add nm_utils_addr_family_to_size_untrusted() helperThomas Haller2022-08-091-0/+22
* std-aux: use unique local variable in NM_IN_SET() macroThomas Haller2022-07-281-13/+13
* std-aux: add argument to "op" parameter for NM_VA_ARGS_FOREACH() macroThomas Haller2022-07-281-140/+141
* std-aux: add nm_memeq() helperThomas Haller2022-07-281-0/+6
* std-aux: use nm_memcmp() in NM_CMP_DIRECT_MEMCMP()Thomas Haller2022-07-201-1/+1
* std-aux: add nm_memcmp() helperThomas Haller2022-07-201-0/+11
* std-aux: cleanup NM_CMP_*() macrosThomas Haller2022-06-091-36/+48
* std-aux: cast NM_IN_SET_SET() operands to "int" for "-Wbitwise-instead-of-log...Thomas Haller2022-03-161-2/+2
* std-aux: add code comment for NM_STR_HAS_PREFIX()/NM_STR_HAS_SUFFIX()Thomas Haller2022-03-091-0/+32
* core: support linking with LLD 13Harald van Dijk2021-11-021-0/+15
* std-aux: work around "-Wunused-but-set-variable" warning with clang in nm_auto()Thomas Haller2021-10-081-1/+10
* std-aux: minor cleanup in nm_steal_int() to compare number explicitly against...Thomas Haller2021-10-061-9/+9
* std-aux: add nm_clear_fd() helperThomas Haller2021-09-281-0/+13
* std-aux: add nm_assert_addr_family_or_unspec() and nm_utils_addr_family_other...Thomas Haller2021-09-281-0/+9
* std-aux: let nm_assert() macros return a TRUE valueThomas Haller2021-08-311-14/+16
* format: reformat code with clang-format-12.0.1-1.fc34Thomas Haller2021-08-301-7/+7
* std-aux: add XXX() macroThomas Haller2021-08-111-0/+7
* std-aux: add nm_utils_addr_family_to_str() helperThomas Haller2021-08-051-0/+15
* std-aux: use unique temporary variable in NM_IS_IPv4()Thomas Haller2021-08-051-7/+9
* std-aux: add _nm_nil macroThomas Haller2021-08-021-0/+2
* all: use _NM_ENSURE_POINTER() macroThomas Haller2021-07-301-15/+14
* std-aux: add _NM_ENSURE_POINTER() macroThomas Haller2021-07-301-0/+11