Browse Source

Use the output namespace instead of the library name when generating function names signatures.

pull/3/head
triton 13 years ago
parent
commit
ee1bc28879
  1. 2
      src/Generator/Generators/CLI/CLISourcesTemplate.cs

2
src/Generator/Generators/CLI/CLISourcesTemplate.cs

@ -629,7 +629,7 @@ namespace CppSharp.Generators.CLI @@ -629,7 +629,7 @@ namespace CppSharp.Generators.CLI
GenerateDeclarationCommon(function);
var classSig = string.Format("{0}{1}{2}", QualifiedIdentifier(@namespace),
Library.Name, TranslationUnit.FileNameWithoutExtension);
Options.OutputNamespace, TranslationUnit.FileNameWithoutExtension);
Write("{0} {1}::{2}(", function.ReturnType, classSig,
SafeIdentifier(function.Name));

Loading…
Cancel
Save