mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
Add panicf to plugin and codec API
Change-Id: I0e11ecaf8e18233f682f572f479cfdd141c99bd5
This commit is contained in:
parent
4e62c9f8cb
commit
9ac6edf750
4 changed files with 6 additions and 0 deletions
|
|
@ -50,6 +50,7 @@
|
|||
#include "splash.h"
|
||||
#include "general.h"
|
||||
#include "rbpaths.h"
|
||||
#include "panic.h"
|
||||
|
||||
#define LOGF_ENABLE
|
||||
#include "logf.h"
|
||||
|
|
@ -150,6 +151,7 @@ struct codec_api ci = {
|
|||
|
||||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
panicf,
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
#include "core_keymap.h"
|
||||
#include "language.h"
|
||||
#include "statusbar-skinned.h"
|
||||
#include "panic.h"
|
||||
|
||||
#if CONFIG_CHARGING
|
||||
#include "power.h"
|
||||
|
|
@ -870,6 +871,7 @@ static const struct plugin_api rockbox_api = {
|
|||
|
||||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
panicf,
|
||||
};
|
||||
|
||||
static int plugin_buffer_handle;
|
||||
|
|
|
|||
|
|
@ -1024,6 +1024,7 @@ struct plugin_api {
|
|||
|
||||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
void (*panicf)(const char *msg, ...);
|
||||
};
|
||||
|
||||
/* plugin header */
|
||||
|
|
|
|||
|
|
@ -224,6 +224,7 @@ struct codec_api {
|
|||
|
||||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
void (*panicf)(const char *msg, ...);
|
||||
};
|
||||
|
||||
/* codec header */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue