[apps] Make app accessors static members of App classes

This commit is contained in:
Ruben Dashyan
2019-07-19 13:27:15 +02:00
committed by EmilieNumworks
parent 44809f4b3f
commit eb6d697927
31 changed files with 63 additions and 70 deletions

View File

@@ -33,7 +33,7 @@ void VariableBoxController::didEnterResponderChain(Responder * previousFirstResp
* environment where Python has already been inited. This way, we do not
* deinit Python when leaving the VariableBoxController, so we do not lose the
* environment that was loaded when entering the VariableBoxController. */
assert(app()->pythonIsInited());
assert(App::app()->pythonIsInited());
}
static bool shouldAddObject(const char * name, int maxLength) {