#include "arena_allocator.h"

namespace fetchml::common {

thread_local ArenaAllocator g_arena;

ArenaAllocator* thread_local_arena() {
    return &g_arena;
}

void begin_arena_scope() {
    g_arena.begin();
}

void end_arena_scope() {
    g_arena.end();
}

} // namespace fetchml::common
