diff options
author | Not Zed <NotZed@HelixCode.com> | 2000-11-21 22:31:41 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-11-21 22:31:41 +0800 |
commit | bb09c40e2f9dcca5a1dbf55f5bbc572d8b7bfb9d (patch) | |
tree | e55d0687a891cc3c98b7dd6eccd0c200ff429767 /e-util/e-memory.h | |
parent | 8d9d1e00dd89221488084e51b4940469e8db4f4e (diff) | |
download | gsoc2013-evolution-bb09c40e2f9dcca5a1dbf55f5bbc572d8b7bfb9d.tar.gz gsoc2013-evolution-bb09c40e2f9dcca5a1dbf55f5bbc572d8b7bfb9d.tar.zst gsoc2013-evolution-bb09c40e2f9dcca5a1dbf55f5bbc572d8b7bfb9d.zip |
New function to strdup into a mempool.
2000-11-21 Not Zed <NotZed@HelixCode.com>
* e-memory.c
(e_mempool_strdup): New function to strdup into a mempool.
svn path=/trunk/; revision=6630
Diffstat (limited to 'e-util/e-memory.h')
-rw-r--r-- | e-util/e-memory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/e-util/e-memory.h b/e-util/e-memory.h index 3f1f2f0f4d..378c485530 100644 --- a/e-util/e-memory.h +++ b/e-util/e-memory.h @@ -46,6 +46,7 @@ typedef enum { EMemPool *e_mempool_new(int blocksize, int threshold, EMemPoolFlags flags); void *e_mempool_alloc(EMemPool *pool, int size); +char *e_mempool_strdup(EMemPool *pool, const char *str); void e_mempool_flush(EMemPool *pool, int freeall); void e_mempool_destroy(EMemPool *pool); |