Oliver Fabel 1 год назад
Родитель
Сommit
60fd3d6587
1 измененных файлов с 14 добавлено и 0 удалено
  1. 14 0
      mp_flipper_repl_helper.h

+ 14 - 0
mp_flipper_repl_helper.h

@@ -0,0 +1,14 @@
+#pragma once
+
+#include <stddef.h>
+
+#include "py/repl.h"
+#include "py/mpprint.h"
+
+inline bool mp_flipper_repl_continue_with_input(const char* input) {
+    return mp_repl_continue_with_input(input);
+}
+
+inline size_t mp_flipper_repl_autocomplete(const char* str, size_t len, const mp_print_t* print, const char** compl_str) {
+    return mp_repl_autocomplete(str, len, print, compl_str);
+}