mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 19:23:09 +00:00
38792f2c93
* codespell across project Co-authored-by: あく <alleteam@gmail.com>
12 lines
254 B
C
12 lines
254 B
C
#pragma once
|
|
|
|
/* Common interface between a plugin and host application */
|
|
|
|
#define PLUGIN_APP_ID "example_plugins"
|
|
#define PLUGIN_API_VERSION 1
|
|
|
|
typedef struct {
|
|
const char* name;
|
|
int (*method1)();
|
|
int (*method2)(int, int);
|
|
} ExamplePlugin;
|