Put the mempool backend structure with other structure.

SVN revision: 36855
This commit is contained in:
Cedric BAIL 2008-10-20 13:23:18 +00:00
parent 6734c580df
commit a52cc857fa
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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_ */