mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-01 12:25:39 +00:00
* clang-format: AllowShortEnumsOnASingleLine: false * clang-format: InsertNewlineAtEOF: true * clang-format: Standard: c++20 * clang-format: AlignConsecutiveBitFields * clang-format: AlignConsecutiveMacros * clang-format: RemoveParentheses: ReturnStatement * clang-format: RemoveSemicolon: true * Restored RemoveParentheses: Leave, retained general changes for it * formatting: fixed logging TAGs * Formatting update for dev Co-authored-by: あく <alleteam@gmail.com>
14 lines
604 B
C
14 lines
604 B
C
#include "app_api.h"
|
|
|
|
/*
|
|
* A list of app's private functions and objects to expose for plugins.
|
|
* It is used to generate a table of symbols for import resolver to use.
|
|
* TBD: automatically generate this table from app's header files
|
|
*/
|
|
static constexpr auto app_api_table = sort(create_array_t<sym_entry>(
|
|
API_METHOD(app_api_accumulator_set, void, (uint32_t)),
|
|
API_METHOD(app_api_accumulator_get, uint32_t, ()),
|
|
API_METHOD(app_api_accumulator_add, void, (uint32_t)),
|
|
API_METHOD(app_api_accumulator_sub, void, (uint32_t)),
|
|
API_METHOD(app_api_accumulator_mul, void, (uint32_t))));
|