j2s now generates the proper includes.
This commit is contained in:
parent
7c1173eef8
commit
2714a822b0
1 changed files with 6 additions and 6 deletions
12
tools/j2s.c
12
tools/j2s.c
|
@ -441,9 +441,9 @@ Main(Array * args)
|
||||||
StreamPrintf(headerFile, "#ifndef %s\n", guard);
|
StreamPrintf(headerFile, "#ifndef %s\n", guard);
|
||||||
StreamPrintf(headerFile, "#define %s\n\n", guard);
|
StreamPrintf(headerFile, "#define %s\n\n", guard);
|
||||||
|
|
||||||
StreamPrintf(headerFile, "#include <Array.h>\n");
|
StreamPrintf(headerFile, "#include <Cytoplasm/Array.h>\n");
|
||||||
StreamPrintf(headerFile, "#include <HashMap.h>\n");
|
StreamPrintf(headerFile, "#include <Cytoplasm/HashMap.h>\n");
|
||||||
StreamPrintf(headerFile, "#include <Int64.h>\n");
|
StreamPrintf(headerFile, "#include <Cytoplasm/Int64.h>\n");
|
||||||
|
|
||||||
StreamPutc(headerFile, '\n');
|
StreamPutc(headerFile, '\n');
|
||||||
|
|
||||||
|
@ -583,9 +583,9 @@ Main(Array * args)
|
||||||
StreamPrintf(implFile, "/* Generated by j2s */\n\n");
|
StreamPrintf(implFile, "/* Generated by j2s */\n\n");
|
||||||
StreamPrintf(implFile, "#include <%s>\n\n", headerName);
|
StreamPrintf(implFile, "#include <%s>\n\n", headerName);
|
||||||
|
|
||||||
StreamPrintf(implFile, "#include <Memory.h>\n");
|
StreamPrintf(implFile, "#include <Cytoplasm/Memory.h>\n");
|
||||||
StreamPrintf(implFile, "#include <Json.h>\n");
|
StreamPrintf(implFile, "#include <Cytoplasm/Json.h>\n");
|
||||||
StreamPrintf(implFile, "#include <Str.h>\n");
|
StreamPrintf(implFile, "#include <Cytoplasm/Str.h>\n");
|
||||||
|
|
||||||
StreamPutc(implFile, '\n');
|
StreamPutc(implFile, '\n');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue