diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-15 23:55:39 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-13 10:32:54 +0000 |
commit | 1e9ad3ca0d9bf3e917eb2beb460421155144760a (patch) | |
tree | 752590b42f338f03223e024fc5b642ac9a8a5598 /apps/plugin.h | |
parent | 3301c5aa6db76832dbb9af8f72d29b348190fd91 (diff) | |
download | rockbox-1e9ad3ca0d9bf3e917eb2beb460421155144760a.tar.gz rockbox-1e9ad3ca0d9bf3e917eb2beb460421155144760a.zip |
Remove buflib allocation names, part two
Remove allocation names from the buflib API and fix up all callers.
Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 768fc0ff27..0e7e97433b 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -649,8 +649,8 @@ struct plugin_api { | |||
649 | size_t (*buflib_available)(struct buflib_context* ctx); | 649 | size_t (*buflib_available)(struct buflib_context* ctx); |
650 | int (*buflib_alloc)(struct buflib_context* ctx, size_t size); | 650 | int (*buflib_alloc)(struct buflib_context* ctx, size_t size); |
651 | int (*buflib_alloc_ex)(struct buflib_context* ctx, size_t size, | 651 | int (*buflib_alloc_ex)(struct buflib_context* ctx, size_t size, |
652 | const char* name, struct buflib_callbacks *ops); | 652 | struct buflib_callbacks *ops); |
653 | int (*buflib_alloc_maximum)(struct buflib_context* ctx, const char* name, | 653 | int (*buflib_alloc_maximum)(struct buflib_context* ctx, |
654 | size_t* size, struct buflib_callbacks *ops); | 654 | size_t* size, struct buflib_callbacks *ops); |
655 | void (*buflib_buffer_in)(struct buflib_context* ctx, int size); | 655 | void (*buflib_buffer_in)(struct buflib_context* ctx, int size); |
656 | void* (*buflib_buffer_out)(struct buflib_context* ctx, size_t* size); | 656 | void* (*buflib_buffer_out)(struct buflib_context* ctx, size_t* size); |
@@ -658,7 +658,6 @@ struct plugin_api { | |||
658 | bool (*buflib_shrink)(struct buflib_context* ctx, int handle, | 658 | bool (*buflib_shrink)(struct buflib_context* ctx, int handle, |
659 | void* new_start, size_t new_size); | 659 | void* new_start, size_t new_size); |
660 | void* (*buflib_get_data)(struct buflib_context* ctx, int handle); | 660 | void* (*buflib_get_data)(struct buflib_context* ctx, int handle); |
661 | const char* (*buflib_get_name)(struct buflib_context* ctx, int handle); | ||
662 | 661 | ||
663 | /* sound */ | 662 | /* sound */ |
664 | void (*sound_set)(int setting, int value); | 663 | void (*sound_set)(int setting, int value); |