app_api_table_i.h 603 B

12345678910111213
  1. #include "app_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. */
  7. static constexpr auto app_api_table = sort(create_array_t<sym_entry>(
  8. API_METHOD(app_api_accumulator_set, void, (uint32_t)),
  9. API_METHOD(app_api_accumulator_get, uint32_t, ()),
  10. API_METHOD(app_api_accumulator_add, void, (uint32_t)),
  11. API_METHOD(app_api_accumulator_sub, void, (uint32_t)),
  12. API_METHOD(app_api_accumulator_mul, void, (uint32_t))));