libmapper: format code using c++ clang-format
Remove libmapper/.clang-fromat and format code using c++ clang-format
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I62781743b03fa1e806f51f4844c93aaf4cdfac4f
diff --git a/libmapper/test/utils.c b/libmapper/test/utils.c
index b3c7ae1..67f3eab 100644
--- a/libmapper/test/utils.c
+++ b/libmapper/test/utils.c
@@ -9,13 +9,17 @@
size_t i;
char** ret = calloc(len + 1, sizeof(*ret));
if (!ret)
+ {
return NULL;
+ }
for (i = 0; i < len; ++i)
{
ret[i] = strdup(testString);
if (!ret[i])
+ {
goto error;
+ }
}
return ret;
diff --git a/libmapper/test/utils.h b/libmapper/test/utils.h
index 73162cb..61bd35b 100644
--- a/libmapper/test/utils.h
+++ b/libmapper/test/utils.h
@@ -1,7 +1,8 @@
#pragma once
#include <stddef.h>
#ifdef __cplusplus
-extern "C" {
+extern "C"
+{
#endif
char** generate_test_sarray(size_t);
#ifdef __cplusplus