Skip to content

Commit

Permalink
remove redundant info from exported definition files (dotnet#4986)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonerdo committed Dec 27, 2017
1 parent 7fc2d0d commit 3bad6d1
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Licensed to the .NET Foundation under one or more agreements.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

Expand Down Expand Up @@ -69,17 +69,12 @@ private void EmitExportedMethods()
{
if (_module.Context.Target.IsWindows)
{
streamWriter.Write("LIBRARY ");
streamWriter.WriteLine(moduleName.ToUpperInvariant());

streamWriter.WriteLine("EXPORTS");
foreach (var method in _methods)
streamWriter.WriteLine($" {method.GetNativeCallableExportName()}");
}
else
{
streamWriter.Write("# Module: ");
streamWriter.WriteLine(moduleName);
foreach (var method in _methods)
streamWriter.WriteLine($"_{method.GetNativeCallableExportName()}");
}
Expand Down

0 comments on commit 3bad6d1

Please sign in to comment.