This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
micropython
kopia lustrzana
https://github.com/micropython/micropython
Obserwuj
1
Polub
0
Forkuj
You've already forked micropython
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
55baff4c9b
micropython
/
py
/
repl.h
4 wiersze
88 B
C
Czysty
Zwykły widok
Historia
Unescape
Escape
Factor and simplify Makefile's and mpconfig.
2014-01-07 14:54:15 +00:00
#
if MICROPY_ENABLE_REPL_HELPERS
Change object representation from 1 big union to individual structs. A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python).
2013-12-21 18:17:45 +00:00
bool
mp_repl_is_compound_stmt
(
const
char
*
line
)
;
Factor and simplify Makefile's and mpconfig.
2014-01-07 14:54:15 +00:00
#
endif