Include Map Header On C++
This commit is contained in:
parent
fbdd1e2798
commit
8bca4b7ec6
@ -176,6 +176,7 @@ function makeMainHeader(output: string) {
|
|||||||
result += '#include <string>\n';
|
result += '#include <string>\n';
|
||||||
result += '#include <vector>\n';
|
result += '#include <vector>\n';
|
||||||
result += '#include <cstddef>\n';
|
result += '#include <cstddef>\n';
|
||||||
|
result += '#include <map>\n';
|
||||||
result += 'extern "C" {\n\n';
|
result += 'extern "C" {\n\n';
|
||||||
result += makeHeaderPart(true);
|
result += makeHeaderPart(true);
|
||||||
result += '\n// End C++ Mode\n';
|
result += '\n// End C++ Mode\n';
|
||||||
@ -229,4 +230,4 @@ function makeCompiledCode(output: string) {
|
|||||||
result += declarations;
|
result += declarations;
|
||||||
fs.writeFileSync(output, result);
|
fs.writeFileSync(output, result);
|
||||||
}
|
}
|
||||||
makeCompiledCode(sourceOutput);
|
makeCompiledCode(sourceOutput);
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
<item>void</item>
|
<item>void</item>
|
||||||
<item>std::string</item>
|
<item>std::string</item>
|
||||||
<item>std::vector</item>
|
<item>std::vector</item>
|
||||||
|
<item>std::map</item>
|
||||||
</list>
|
</list>
|
||||||
<contexts>
|
<contexts>
|
||||||
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
|
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
|
||||||
|
Loading…
Reference in New Issue
Block a user