py_app.h 350 B

123456789101112131415161718192021
  1. #pragma once
  2. #include <furi.h>
  3. #define TAG "uPython"
  4. typedef struct {
  5. size_t stack_size;
  6. float heap_size;
  7. uint8_t version;
  8. } PyApp;
  9. int32_t py_app(void* arg);
  10. void py_app_file_execute(FuriString* file);
  11. PyApp* py_app_load_settings();
  12. void py_app_save_settings(PyApp* settings);
  13. PyApp* py_app_alloc();
  14. void py_app_free(PyApp* app);