Extend allocator API
Create function for directly changing the size of rpool backing created allocator. Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
@@ -78,6 +78,9 @@ static inline void env_secure_free(const void *ptr, size_t size)
|
||||
|
||||
typedef struct _env_allocator env_allocator;
|
||||
|
||||
env_allocator *env_allocator_create_extended(uint32_t size, const char *name,
|
||||
int rpool_limit);
|
||||
|
||||
env_allocator *env_allocator_create(uint32_t size, const char *name);
|
||||
|
||||
void env_allocator_destroy(env_allocator *allocator);
|
||||
|
||||
Reference in New Issue
Block a user