[code] Get rid of malloc: keep a buffer in Code::App to be used as python heap

This commit is contained in:
Émilie Feral
2018-09-19 18:20:30 +02:00
parent ac9b889a67
commit afce751eb7
12 changed files with 64 additions and 53 deletions

View File

@@ -8,9 +8,9 @@
namespace Code {
EditorController::EditorController(MenuController * menuController) :
EditorController::EditorController(MenuController * menuController, App * pythonDelegate) :
ViewController(nullptr),
m_editorView(this),
m_editorView(this, pythonDelegate),
m_script(Ion::Storage::Record()),
m_menuController(menuController)
{