NetworkManager/shared/nm-utils
Thomas Haller 743377595d tests: replace NMTST_SWAP() by new NM_SWAP() macro
NMTST_SWAP() used memcpy() for copying the value, while NM_SWAP() uses
a temporary variable with typeof(). I think the latter is preferable.

Also, the macro is essentially doing the same thing.

(cherry picked from commit 6f9a478b7d)
2020-03-26 22:22:57 +01:00
..
tests tests: replace NMTST_SWAP() by new NM_SWAP() macro 2020-03-26 22:22:57 +01:00
nm-compat.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-compat.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-test-utils.h tests: replace NMTST_SWAP() by new NM_SWAP() macro 2020-03-26 22:22:57 +01:00
nm-vpn-editor-plugin-call.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-vpn-plugin-macros.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-vpn-plugin-utils.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-vpn-plugin-utils.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00