test/mpool_tests.h

Fri, 05 Oct 2012 11:52:53 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 05 Oct 2012 11:52:53 +0200
changeset 48
621a4430c404
parent 28
1666cbeb1db8
child 59
c80c910fe191
permissions
-rw-r--r--

map can now load values from file into pooled memory

use with care when using a decoder that also allocates memory

/* 
 *
 */

#ifndef MPOOL_TESTS_H
#define	MPOOL_TESTS_H

#include "ucx/test.h"
#include "ucx/mempool.h"

#ifdef	__cplusplus
extern "C" {
#endif

UCX_TEST_DECLARE(test_ucx_mempool_new)
UCX_TEST_DECLARE(test_ucx_mempool_malloc)
UCX_TEST_DECLARE(test_ucx_mempool_malloc_with_chcap)
UCX_TEST_DECLARE(test_ucx_mempool_calloc)
UCX_TEST_DECLARE(test_ucx_mempool_set_destr)
UCX_TEST_DECLARE(test_ucx_mempool_reg_destr)
UCX_TEST_DECLARE(test_ucx_mempool_realloc)

#ifdef	__cplusplus
}
#endif

#endif	/* MPOOL_TESTS_H */

mercurial