1
2
3
4
5
6 #ifndef CMAJOR_CMCM_COMPILER_INCLUDED
7 #define CMAJOR_CMCM_COMPILER_INCLUDED
8 #include <cmajor/cmcm/Api.hpp>
9 #include <stdint.h>
10
11 extern "C" void Init();
12 extern "C" void Done();
13 extern "C" int Compile(const char16_t* compileXmlRequest);
14 extern "C" int GetCompileResultLength(int compileResultHandle);
15 extern "C" int GetCompileResult(int compileResultHandle, char16_t* buf, int size);
16 extern "C" void StopBuild();
17 extern "C" int WaitForLogMessage();
18 extern "C" int FetchLogMessage(char16_t* buf, int size);
19 extern "C" void StartLog();
20 extern "C" void EndLog();
21 extern "C" void ResetModuleCache();
22 extern "C" void SetUseModuleCache(bool useModuleCache_);
23
24 #endif // CMAJOR_CMCM_COMPILER_INCLUDED