From 578cad797d04c13af4bfd1604c2191b7839d49a5 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Thu, 2 Sep 2010 03:28:04 +0000 Subject: [PATCH] cleanups for eina_module_list_get type change vtorri SPANK SPANK SPANK!!! git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51828 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/include/eina_module.h | 2 +- src/tests/eina_bench.c | 2 +- src/tests/eina_suite.c | 2 +- src/tests/eina_test_mempool.c | 2 +- src/tests/eina_test_module.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/include/eina_module.h b/src/include/eina_module.h index 2e78a51..6618381 100644 --- a/src/include/eina_module.h +++ b/src/include/eina_module.h @@ -129,7 +129,7 @@ eina_module_environment_path_get(const char *env, const char *sub_dir) EINA_PURE EAPI Eina_Array * eina_module_arch_list_get(Eina_Array *array, const char *path, const char *arch); EAPI Eina_Array * -eina_module_list_get(Eina_Array *array, const char *path, unsigned int recursive, Eina_Module_Cb cb, void *data) EINA_MALLOC EINA_WARN_UNUSED_RESULT; +eina_module_list_get(Eina_Array *array, const char *path, Eina_Bool recursive, Eina_Module_Cb cb, void *data) EINA_MALLOC EINA_WARN_UNUSED_RESULT; EAPI void eina_module_list_load(Eina_Array *list) EINA_ARG_NONNULL(1); EAPI void diff --git a/src/tests/eina_bench.c b/src/tests/eina_bench.c index 5015327..4ba873b 100644 --- a/src/tests/eina_bench.c +++ b/src/tests/eina_bench.c @@ -56,7 +56,7 @@ static void _mempool_init(void) /* force modules to be loaded in case they are not installed */ _modules = eina_module_list_get(NULL, PACKAGE_BUILD_DIR "/src/modules", - 1, + EINA_TRUE, NULL, NULL); eina_module_list_load(_modules); diff --git a/src/tests/eina_suite.c b/src/tests/eina_suite.c index 2aa33e8..78f2d8a 100644 --- a/src/tests/eina_suite.c +++ b/src/tests/eina_suite.c @@ -122,7 +122,7 @@ static void _mempool_init(void) /* force modules to be loaded in case they are not installed */ _modules = eina_module_list_get(NULL, PACKAGE_BUILD_DIR "/src/modules", - 1, + EINA_TRUE, NULL, NULL); eina_module_list_load(_modules); diff --git a/src/tests/eina_test_mempool.c b/src/tests/eina_test_mempool.c index f911fff..7106afa 100644 --- a/src/tests/eina_test_mempool.c +++ b/src/tests/eina_test_mempool.c @@ -32,7 +32,7 @@ _mempool_init(void) /* force modules to be loaded in case they are not installed */ _modules = eina_module_list_get(NULL, PACKAGE_BUILD_DIR "/src/modules", - 1, + EINA_TRUE, NULL, NULL); eina_module_list_load(_modules); diff --git a/src/tests/eina_test_module.c b/src/tests/eina_test_module.c index f32fe21..56bdca7 100644 --- a/src/tests/eina_test_module.c +++ b/src/tests/eina_test_module.c @@ -51,7 +51,7 @@ START_TEST(eina_module_load_unload) eina_init(); _modules = eina_module_list_get(NULL, PACKAGE_BUILD_DIR "/src/tests/", - 1, + EINA_TRUE, &list_cb, NULL); fail_if(!_modules); -- 2.7.4