Flipper Zero Firmware
Loading...
Searching...
No Matches
examples/example_plugins_advanced/app_api_table_i.h
1#include "app_api.h"
2
3/*
4 * A list of app's private functions and objects to expose for plugins.
5 * It is used to generate a table of symbols for import resolver to use.
6 * TBD: automatically generate this table from app's header files
7 */
8static constexpr auto app_api_table = sort(create_array_t<sym_entry>(
9 API_METHOD(app_api_accumulator_set, void, (uint32_t)),
10 API_METHOD(app_api_accumulator_get, uint32_t, ()),
11 API_METHOD(app_api_accumulator_add, void, (uint32_t)),
12 API_METHOD(app_api_accumulator_sub, void, (uint32_t)),
13 API_METHOD(app_api_accumulator_mul, void, (uint32_t))));
Application API example.