test/mpool_tests.h

Fri, 12 Oct 2012 12:46:54 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 12 Oct 2012 12:46:54 +0200
changeset 74
dc8bade7f2a3
parent 59
c80c910fe191
child 103
08018864fb91
permissions
-rw-r--r--

made the code work with g++ and without warnings

/* 
 *
 */

#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