diff --git a/src/Generator/Generator.cs b/src/Generator/Generator.cs index 00a1a75d..f017a468 100644 --- a/src/Generator/Generator.cs +++ b/src/Generator/Generator.cs @@ -160,7 +160,7 @@ namespace CppSharp.Generators { TranslationUnit = new TranslationUnit { - FilePath = $"{module.LibraryName}", + FilePath = $"{module.LibraryName}.h", Module = module }, Outputs = Generate(generatedUnits)