aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/eina/src/tests/evas_mempool.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/eina/src/tests/evas_mempool.h')
-rw-r--r--libraries/eina/src/tests/evas_mempool.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/libraries/eina/src/tests/evas_mempool.h b/libraries/eina/src/tests/evas_mempool.h
new file mode 100644
index 0000000..983c434
--- /dev/null
+++ b/libraries/eina/src/tests/evas_mempool.h
@@ -0,0 +1,21 @@
1#ifndef _EVAS_MEMPOOL_H
2#define _EVAS_MEMPOOL_H
3
4
5typedef struct _Evas_Mempool Evas_Mempool;
6
7struct _Evas_Mempool
8{
9 int item_size;
10 int pool_size;
11 int usage;
12 void *first, *last;
13};
14
15
16void *evas_mempool_malloc(Evas_Mempool *pool, int size);
17void evas_mempool_free(Evas_Mempool *pool, void *ptr);
18void *evas_mempool_calloc(Evas_Mempool *pool, int size);
19
20
21#endif /* _EVAS_MEMPOOL_H */