From bc8ceebef7530b767e9e454f3c5cd6e1749675bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Mon, 25 Oct 2021 16:49:23 +0200 Subject: Add clang-format configuration, clean up --- liblogdiag/ld-library.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'liblogdiag/ld-library.h') diff --git a/liblogdiag/ld-library.h b/liblogdiag/ld-library.h index 46bed68..e52001e 100644 --- a/liblogdiag/ld-library.h +++ b/liblogdiag/ld-library.h @@ -15,16 +15,15 @@ G_BEGIN_DECLS #define LD_TYPE_LIBRARY (ld_library_get_type ()) -#define LD_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_CAST \ - ((obj), LD_TYPE_LIBRARY, LdLibrary)) -#define LD_LIBRARY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \ - ((klass), LD_TYPE_LIBRARY, LdLibraryClass)) -#define LD_IS_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_TYPE \ - ((obj), LD_TYPE_LIBRARY)) -#define LD_IS_LIBRARY_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \ - ((klass), LD_TYPE_LIBRARY)) -#define LD_LIBRARY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \ - ((obj), LD_LIBRARY, LdLibraryClass)) +#define LD_LIBRARY(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_LIBRARY, LdLibrary)) +#define LD_LIBRARY_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), LD_TYPE_LIBRARY, LdLibraryClass)) +#define LD_IS_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_LIBRARY)) +#define LD_IS_LIBRARY_CLASS(klass) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_LIBRARY)) +#define LD_LIBRARY_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), LD_LIBRARY, LdLibraryClass)) typedef struct _LdLibrary LdLibrary; typedef struct _LdLibraryPrivate LdLibraryPrivate; @@ -66,4 +65,3 @@ LdCategory *ld_library_get_root (LdLibrary *self); G_END_DECLS #endif /* ! __LD_LIBRARY_H__ */ - -- cgit v1.2.3