From ee1bc288799782cce12b95d4e8d1234f42abad8b Mon Sep 17 00:00:00 2001 From: triton Date: Sun, 23 Jun 2013 04:36:32 +0100 Subject: [PATCH] Use the output namespace instead of the library name when generating function names signatures. --- src/Generator/Generators/CLI/CLISourcesTemplate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/Generators/CLI/CLISourcesTemplate.cs b/src/Generator/Generators/CLI/CLISourcesTemplate.cs index c613be77..2dd350a0 100644 --- a/src/Generator/Generators/CLI/CLISourcesTemplate.cs +++ b/src/Generator/Generators/CLI/CLISourcesTemplate.cs @@ -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));