From a52cc857fa1db2a98dcc37378227cffef7bd9f09 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 20 Oct 2008 13:23:18 +0000 Subject: [PATCH] Put the mempool backend structure with other structure. SVN revision: 36855 --- legacy/eina/src/include/eina_inline_mempool.x | 1 - legacy/eina/src/include/eina_mempool.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/legacy/eina/src/include/eina_inline_mempool.x b/legacy/eina/src/include/eina_inline_mempool.x index fb038ba22d..d8ad1f3286 100644 --- a/legacy/eina/src/include/eina_inline_mempool.x +++ b/legacy/eina/src/include/eina_inline_mempool.x @@ -20,7 +20,6 @@ #define EINA_INLINE_MEMPOOL_X_ /* Memory Pool */ -typedef struct _Eina_Mempool_Backend Eina_Mempool_Backend; struct _Eina_Mempool_Backend { const char *name; diff --git a/legacy/eina/src/include/eina_mempool.h b/legacy/eina/src/include/eina_mempool.h index 24fc9c0db3..45dcf296bf 100644 --- a/legacy/eina/src/include/eina_mempool.h +++ b/legacy/eina/src/include/eina_mempool.h @@ -28,8 +28,7 @@ * @{ */ typedef struct _Eina_Mempool Eina_Mempool; - -#include "eina_inline_mempool.x" +typedef struct _Eina_Mempool_Backend Eina_Mempool_Backend; EAPI extern Eina_Error EINA_ERROR_NOT_MEMPOOL_MODULE; @@ -49,6 +48,7 @@ EAPI void eina_mempool_statistics(Eina_Mempool *mp); EAPI Eina_Bool eina_mempool_register(Eina_Mempool_Backend *be); EAPI void eina_mempool_unregister(Eina_Mempool_Backend *be); +#include "eina_inline_mempool.x" /** @} */ #endif /* EINA_MEMPOOL_H_ */