mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Remove buflib allocation names, part two
Remove allocation names from the buflib API and fix up all callers. Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a
This commit is contained in:
parent
3301c5aa6d
commit
1e9ad3ca0d
39 changed files with 69 additions and 115 deletions
|
@ -11,9 +11,9 @@
|
|||
* they have a predefined context
|
||||
*/
|
||||
void core_allocator_init(void) INIT_ATTR;
|
||||
int core_alloc(const char* name, size_t size);
|
||||
int core_alloc_ex(const char* name, size_t size, struct buflib_callbacks *ops);
|
||||
int core_alloc_maximum(const char* name, size_t *size, struct buflib_callbacks *ops);
|
||||
int core_alloc(size_t size);
|
||||
int core_alloc_ex(size_t size, struct buflib_callbacks *ops);
|
||||
int core_alloc_maximum(size_t *size, struct buflib_callbacks *ops);
|
||||
bool core_shrink(int handle, void* new_start, size_t new_size);
|
||||
void core_pin(int handle);
|
||||
void core_unpin(int handle);
|
||||
|
@ -21,7 +21,6 @@ unsigned core_pin_count(int handle);
|
|||
int core_free(int handle);
|
||||
size_t core_available(void);
|
||||
size_t core_allocatable(void);
|
||||
const char* core_get_name(int handle);
|
||||
#ifdef DEBUG
|
||||
void core_check_valid(void);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue