From fc3cf4ab34a6920d29786ae743621ae261e0805c Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Fri, 30 Sep 2011 11:49:01 +0200 Subject: [PATCH] dont use bool since its c99 --- base/array.c | 2 +- base/heimbase.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/array.c b/base/array.c index 7b0d77b1c..9266411aa 100644 --- a/base/array.c +++ b/base/array.c @@ -218,7 +218,7 @@ heim_array_delete_value(heim_array_t array, size_t idx) */ void -heim_array_filter(heim_array_t array, bool (^block)(heim_object_t)) +heim_array_filter(heim_array_t array, int (^block)(heim_object_t)) { size_t n = 0; diff --git a/base/heimbase.h b/base/heimbase.h index ad1b3f0c4..f1ca23178 100644 --- a/base/heimbase.h +++ b/base/heimbase.h @@ -131,7 +131,7 @@ heim_object_t heim_array_copy_value(heim_array_t, size_t); void heim_array_delete_value(heim_array_t, size_t); #ifdef __BLOCKS__ -void heim_array_filter(heim_array_t, bool (^)(heim_object_t)); +void heim_array_filter(heim_array_t, int (^)(heim_object_t)); #endif /* -- 2.11.4.GIT