mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 01:00:50 +01:00
[apps/code/python] Inline and indent some code
This commit is contained in:
committed by
EmilieNumworks
parent
216b16fc11
commit
8830821d0e
@@ -23,10 +23,6 @@ extern "C" {
|
||||
static MicroPython::ScriptProvider * sScriptProvider = nullptr;
|
||||
static MicroPython::ExecutionEnvironment * sCurrentExecutionEnvironment = nullptr;
|
||||
|
||||
MicroPython::ExecutionEnvironment::ExecutionEnvironment() :
|
||||
m_sandboxIsDisplayed(false)
|
||||
{
|
||||
}
|
||||
|
||||
MicroPython::ExecutionEnvironment * MicroPython::ExecutionEnvironment::currentExecutionEnvironment() {
|
||||
return sCurrentExecutionEnvironment;
|
||||
|
||||
@@ -14,7 +14,7 @@ public:
|
||||
|
||||
class ExecutionEnvironment {
|
||||
public:
|
||||
ExecutionEnvironment();
|
||||
ExecutionEnvironment() : m_sandboxIsDisplayed(false) {}
|
||||
static ExecutionEnvironment * currentExecutionEnvironment();
|
||||
void runCode(const char * );
|
||||
virtual const char * inputText(const char * prompt) {
|
||||
|
||||
Reference in New Issue
Block a user