1
2
3
4
5
6 #include <cmajor/codegen/EmittingContext.hpp>
7 #include <cmajor/cmmid/Interface.hpp>
8
9 namespace cmajor { namespace codegen {
10
11 EmittingContext::EmittingContext(int optimizationLevel) : baseEmittingContext(CmmCreateEmittingContext(optimizationLevel))
12 {
13 }
14
15 EmittingContext::~EmittingContext()
16 {
17 CmmDestroyEmittingContext(baseEmittingContext);
18 }
19
20 } }
21