Commit 964c91d5 authored by Thomas Guillem's avatar Thomas Guillem

block: expose block_TryRealloc

parent 6fee63fd
...@@ -144,7 +144,7 @@ VLC_API void block_Init( block_t *, void *, size_t ); ...@@ -144,7 +144,7 @@ VLC_API void block_Init( block_t *, void *, size_t );
*/ */
VLC_API block_t *block_Alloc(size_t size) VLC_USED VLC_MALLOC; VLC_API block_t *block_Alloc(size_t size) VLC_USED VLC_MALLOC;
block_t *block_TryRealloc(block_t *, ssize_t pre, size_t body) VLC_USED; VLC_API block_t *block_TryRealloc(block_t *, ssize_t pre, size_t body) VLC_USED;
/** /**
* Reallocates a block. * Reallocates a block.
......
...@@ -43,6 +43,7 @@ block_Init ...@@ -43,6 +43,7 @@ block_Init
block_mmap_Alloc block_mmap_Alloc
block_shm_Alloc block_shm_Alloc
block_Realloc block_Realloc
block_TryRealloc
config_AddIntf config_AddIntf
config_ChainCreate config_ChainCreate
config_ChainDestroy config_ChainDestroy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment