diff --git a/src/Generator/Generators/Emscripten/EmscriptenGenerator.cs b/src/Generator/Generators/Emscripten/EmscriptenGenerator.cs index 69dbf5f8..2aa3c6ae 100644 --- a/src/Generator/Generators/Emscripten/EmscriptenGenerator.cs +++ b/src/Generator/Generators/Emscripten/EmscriptenGenerator.cs @@ -69,7 +69,7 @@ namespace CppSharp.Generators.Emscripten { TranslationUnit = new TranslationUnit { - FilePath = $"__Module.cpp", + FilePath = $"_Module.cpp", Module = module }, Outputs = new List { moduleGen } diff --git a/src/Generator/Generators/QuickJS/QuickJSGenerator.cs b/src/Generator/Generators/QuickJS/QuickJSGenerator.cs index 8462b6b6..d7e7bc74 100644 --- a/src/Generator/Generators/QuickJS/QuickJSGenerator.cs +++ b/src/Generator/Generators/QuickJS/QuickJSGenerator.cs @@ -75,7 +75,7 @@ namespace CppSharp.Generators.C { TranslationUnit = new TranslationUnit { - FilePath = $"QJSModule.cpp", + FilePath = $"_Module.cpp", Module = module }, Outputs = new List { moduleGen }