diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/eina/src/tests/evas_mempool.h | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/eina/src/tests/evas_mempool.h')
-rw-r--r-- | libraries/eina/src/tests/evas_mempool.h | 21 |
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 | |||
5 | typedef struct _Evas_Mempool Evas_Mempool; | ||
6 | |||
7 | struct _Evas_Mempool | ||
8 | { | ||
9 | int item_size; | ||
10 | int pool_size; | ||
11 | int usage; | ||
12 | void *first, *last; | ||
13 | }; | ||
14 | |||
15 | |||
16 | void *evas_mempool_malloc(Evas_Mempool *pool, int size); | ||
17 | void evas_mempool_free(Evas_Mempool *pool, void *ptr); | ||
18 | void *evas_mempool_calloc(Evas_Mempool *pool, int size); | ||
19 | |||
20 | |||
21 | #endif /* _EVAS_MEMPOOL_H */ | ||