Files
Upsilon/poincare/src/init.cpp
Émilie Feral f4d63a2160 [poincare] Integer are allocated on the TreePool instead of using their
own buffer. Short Integers are kept in the handle as an optimization.
2019-02-05 16:42:36 +01:00

20 lines
365 B
C++

#include <poincare/init.h>
#include <poincare/expression.h>
#include <poincare/integer.h>
#include <poincare/tree_pool.h>
namespace Poincare {
void Init() {
// Create and register the shared static pool
static TreePool pool;
TreePool::RegisterPool(&pool);
}
void Tidy() {
// Clean Expression (reset the SymbolReplacementsLock)
Expression::Tidy();
}
}