Include Map Header On C++

This commit is contained in:
TheBrokenRail 2024-02-06 18:20:38 -05:00
parent fbdd1e2798
commit 8bca4b7ec6
2 changed files with 3 additions and 1 deletions

View File

@ -176,6 +176,7 @@ function makeMainHeader(output: string) {
result += '#include <string>\n';
result += '#include <vector>\n';
result += '#include <cstddef>\n';
result += '#include <map>\n';
result += 'extern "C" {\n\n';
result += makeHeaderPart(true);
result += '\n// End C++ Mode\n';
@ -229,4 +230,4 @@ function makeCompiledCode(output: string) {
result += declarations;
fs.writeFileSync(output, result);
}
makeCompiledCode(sourceOutput);
makeCompiledCode(sourceOutput);

View File

@ -26,6 +26,7 @@
<item>void</item>
<item>std::string</item>
<item>std::vector</item>
<item>std::map</item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >