#include <stdlib.h>
#include <inttypes.h>
#include <xine/attributes.h>
Go to the source code of this file.
◆ xine_pool_t
◆ xine_pool_delete()
◆ xine_pool_get()
References _x_assert, xine_pool_s::chunk_list, xine_pool_chunk_s::count, xine_pool_s::create_object, xine_pool_chunk_s::current_id, xine_pool_s::free_list, MAX_CHUNK_SIZE, xine_pool_chunk_s::mem_base, NULL, xine_pool_s::object_size, xine_pool_s::prepare_object, xine_array_add(), xine_array_get(), xine_array_remove(), xine_array_size(), and xine_pool_alloc_chunk().
Referenced by xine_ring_buffer_alloc(), and xine_ring_buffer_get().
◆ xine_pool_new()
xine_pool_t * xine_pool_new |
( |
size_t | object_size, |
|
|
void(create_object)(void *object) | , |
|
|
void(prepare_object)(void *object) | , |
|
|
void(return_object)(void *object) | , |
|
|
void(delete_object)(void *object) | ) |
◆ xine_pool_put()
void xine_pool_put |
( |
xine_pool_t * | pool, |
|
|
void * | object ) |