test/mpool_tests.h

Fri, 05 Oct 2012 13:23:25 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 05 Oct 2012 13:23:25 +0200
changeset 50
ff194559eb41
parent 28
1666cbeb1db8
child 59
c80c910fe191
permissions
-rw-r--r--

moved allocator to seperate file

function signatures are now "generic" and not restricted to UcxMempool

/* 
 *
 */

#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