Skip to content

Commit

Permalink
pool_variable_aligned_sizeof
Browse files Browse the repository at this point in the history
  • Loading branch information
Isty001 committed Sep 26, 2018
1 parent aecec12 commit 31f7bcf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/mem_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand Down

0 comments on commit 31f7bcf

Please sign in to comment.