From c214da3f5205839129a35ced6c68742ddd7fddb1 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Sat, 3 Aug 2019 12:33:46 +0000 Subject: [PATCH] Update: Improved formating a bit --- include/igloo/ro.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/igloo/ro.h b/include/igloo/ro.h index 6d4cc25..01a428c 100644 --- a/include/igloo/ro.h +++ b/include/igloo/ro.h @@ -283,8 +283,8 @@ igloo_ro_t igloo_ro_new__raw(const igloo_ro_type_t *type, const char *name, #define igloo_ro_new_raw(type, name, associated) igloo_RO_TO_TYPE(igloo_ro_new__raw(igloo_RO_GET_TYPE_BY_SYMBOL(type), (name), (associated)), type) igloo_ro_t igloo_ro_new__simple(const igloo_ro_type_t *type, const char *name, igloo_ro_t associated, ...); -#define igloo_ro_new(type, ...) igloo_RO_TO_TYPE(igloo_ro_new__simple(igloo_RO_GET_TYPE_BY_SYMBOL(type), NULL, igloo_RO_NULL, ## __VA_ARGS__), type) -#define igloo_ro_new_ext(type, name, associated, ...) igloo_RO_TO_TYPE(igloo_ro_new__simple(igloo_RO_GET_TYPE_BY_SYMBOL(type), (name), (associated), ## __VA_ARGS__), type) +#define igloo_ro_new(type, ...) igloo_RO_TO_TYPE(igloo_ro_new__simple(igloo_RO_GET_TYPE_BY_SYMBOL(type), NULL, igloo_RO_NULL, ## __VA_ARGS__), type) +#define igloo_ro_new_ext(type, name, associated, ...) igloo_RO_TO_TYPE(igloo_ro_new__simple(igloo_RO_GET_TYPE_BY_SYMBOL(type), (name), (associated), ## __VA_ARGS__), type) /* This increases the reference counter of the object */ int igloo_ro_ref(igloo_ro_t self);