From 0c51ea6862336b0ce4a22614e1803d65f8f5fecb Mon Sep 17 00:00:00 2001 From: triton Date: Mon, 12 Aug 2013 17:10:11 +0100 Subject: [PATCH] When generating tests glue, wrap the declaration in a namespace with the library name, this makes sure there are no conflicts between native and managed types. --- src/Generator/Utils/TestsUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/Utils/TestsUtils.cs b/src/Generator/Utils/TestsUtils.cs index 9d66186b..eabcf291 100644 --- a/src/Generator/Utils/TestsUtils.cs +++ b/src/Generator/Utils/TestsUtils.cs @@ -21,7 +21,7 @@ namespace CppSharp.Utils options.LibraryName = name; options.GeneratorKind = kind; options.OutputDir = "../gen/" + name; - options.GenerateLibraryNamespace = false; + options.GenerateLibraryNamespace = true; options.SharedLibraryName = name + ".Native"; // Workaround for CLR which does not check for .dll if the