From 31f7bcf6216348c41ff2bf1faea4b21bed249040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Farkasv=C3=B6lgyi?= Date: Wed, 26 Sep 2018 20:46:37 +0200 Subject: [PATCH] pool_variable_aligned_sizeof --- include/mem_pool.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/mem_pool.h b/include/mem_pool.h index 4990538..1f94e73 100644 --- a/include/mem_pool.h +++ b/include/mem_pool.h @@ -86,6 +86,10 @@ MemPoolError pool_variable_free(VariableMemPool *pool, void *ptr); MemPoolError pool_variable_destroy(VariableMemPool *pool); +/* + * @return same as pool_variable_is_associated + * The *aligned* size of the block is written to the size_t pointer + */ MemPoolError pool_variable_aligned_sizeof(VariableMemPool *pool, void *ptr, size_t *size); /**