From 3cce479a09636e43fce2ad363062d847878a336f Mon Sep 17 00:00:00 2001 From: marcos henrich Date: Thu, 23 May 2013 04:32:58 +0100 Subject: [PATCH] Changed CLITypePrinter to store a Driver instead of a Library --- src/Generator/Generators/CLI/CLITypePrinter.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Generator/Generators/CLI/CLITypePrinter.cs b/src/Generator/Generators/CLI/CLITypePrinter.cs index 19543e38..fbe26b00 100644 --- a/src/Generator/Generators/CLI/CLITypePrinter.cs +++ b/src/Generator/Generators/CLI/CLITypePrinter.cs @@ -19,7 +19,7 @@ namespace CppSharp.Generators.CLI public class CLITypePrinter : ITypePrinter, IDeclVisitor { - public Library Library { get; set; } + public Driver Driver { get; set; } public CLITypePrinterContext Context { get; set; } readonly ITypeMapDatabase TypeMapDatabase; @@ -27,7 +27,7 @@ namespace CppSharp.Generators.CLI public CLITypePrinter(Driver driver) { - Library = driver.Library; + Driver = driver; TypeMapDatabase = driver.TypeDatabase; Options = driver.Options; Context = new CLITypePrinterContext(); @@ -248,7 +248,7 @@ namespace CppSharp.Generators.CLI var names = new List(); if (Options.GenerateLibraryNamespace) - names.Add(Library.Name); + names.Add(Driver.Library.Name); if (!string.IsNullOrEmpty(decl.Namespace.QualifiedName)) names.Add(decl.Namespace.QualifiedName);