소스 검색

library update

Oliver Fabel 1 년 전
부모
커밋
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);
+}