Skip to content

Commit 3ca746a

Browse files
committed
Use the same module filename convention for Emscripten and QuickJS generators.
1 parent c645b04 commit 3ca746a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Generator/Generators/Emscripten/EmscriptenGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public override GeneratorOutput GenerateModule(Module module)
6969
{
7070
TranslationUnit = new TranslationUnit
7171
{
72-
FilePath = $"__Module.cpp",
72+
FilePath = $"_Module.cpp",
7373
Module = module
7474
},
7575
Outputs = new List<CodeGenerator> { moduleGen }

src/Generator/Generators/QuickJS/QuickJSGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public override GeneratorOutput GenerateModule(Module module)
7575
{
7676
TranslationUnit = new TranslationUnit
7777
{
78-
FilePath = $"QJSModule.cpp",
78+
FilePath = $"_Module.cpp",
7979
Module = module
8080
},
8181
Outputs = new List<CodeGenerator> { moduleGen }

0 commit comments

Comments
 (0)