1
2
3
4
5
6 #ifndef CMAJOR_CMSX_INTERFACE_INCLUDED
7 #define CMAJOR_CMSX_INTERFACE_INCLUDED
8 #include <cmajor/cmsxbe/CmsxbeApi.hpp>
9 #include <cmajor/ir/Emitter.hpp>
10 #include <cmajor/ir/EmittingContext.hpp>
11
12 extern "C" cmajor::ir::EmittingContext* CmsxbeCreateEmittingContext(int optimizationLevel);
13 extern "C" void CmsxbeDestroyEmittingContext(cmajor::ir::EmittingContext* emittingContext);
14 extern "C" cmajor::ir::Emitter* CmsxbeCreateEmitter(void* emittingContext);
15 extern "C" void CmsxbeDestroyEmitter(cmajor::ir::Emitter* emitter);
16
17 #endif // CMAJOR_CMSX_INTERFACE_INCLUDED