Browse Source

Use the same module filename convention for Emscripten and QuickJS generators.

pull/1819/merge
Joao Matos 10 months ago
parent
commit
3ca746a654
  1. 2
      src/Generator/Generators/Emscripten/EmscriptenGenerator.cs
  2. 2
      src/Generator/Generators/QuickJS/QuickJSGenerator.cs

2
src/Generator/Generators/Emscripten/EmscriptenGenerator.cs

@ -69,7 +69,7 @@ namespace CppSharp.Generators.Emscripten
{ {
TranslationUnit = new TranslationUnit TranslationUnit = new TranslationUnit
{ {
FilePath = $"__Module.cpp", FilePath = $"_Module.cpp",
Module = module Module = module
}, },
Outputs = new List<CodeGenerator> { moduleGen } Outputs = new List<CodeGenerator> { moduleGen }

2
src/Generator/Generators/QuickJS/QuickJSGenerator.cs

@ -75,7 +75,7 @@ namespace CppSharp.Generators.C
{ {
TranslationUnit = new TranslationUnit TranslationUnit = new TranslationUnit
{ {
FilePath = $"QJSModule.cpp", FilePath = $"_Module.cpp",
Module = module Module = module
}, },
Outputs = new List<CodeGenerator> { moduleGen } Outputs = new List<CodeGenerator> { moduleGen }

Loading…
Cancel
Save