Skip to content

Commit

Permalink
Use the same module filename convention for Emscripten and QuickJS ge…
Browse files Browse the repository at this point in the history
…nerators.
  • Loading branch information
tritao committed Sep 5, 2024
1 parent c645b04 commit 3ca746a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Generator/Generators/Emscripten/EmscriptenGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public override GeneratorOutput GenerateModule(Module module)
{
TranslationUnit = new TranslationUnit
{
FilePath = $"__Module.cpp",
FilePath = $"_Module.cpp",
Module = module
},
Outputs = new List<CodeGenerator> { moduleGen }
Expand Down
2 changes: 1 addition & 1 deletion src/Generator/Generators/QuickJS/QuickJSGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public override GeneratorOutput GenerateModule(Module module)
{
TranslationUnit = new TranslationUnit
{
FilePath = $"QJSModule.cpp",
FilePath = $"_Module.cpp",
Module = module
},
Outputs = new List<CodeGenerator> { moduleGen }
Expand Down

0 comments on commit 3ca746a

Please sign in to comment.