Flipper Zero Firmware
Loading...
Searching...
No Matches
system/js_app/plugin_api/app_api_table_i.h
1#include "js_plugin_api.h"
2/*
3 * A list of app's private functions and objects to expose for plugins.
4 * It is used to generate a table of symbols for import resolver to use.
5 * TBD: automatically generate this table from app's header files
6 */
7static constexpr auto app_api_table = sort(create_array_t<sym_entry>(
8 API_METHOD(js_delay_with_flags, bool, (struct mjs*, uint32_t)),
9 API_METHOD(js_flags_set, void, (struct mjs*, uint32_t)),
10 API_METHOD(js_flags_wait, uint32_t, (struct mjs*, uint32_t, uint32_t))));
Definition mjs_core.h:63