From 589cb6b0dfa3fabddd2a2cb1adfcb3c2af7c8841 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Sun, 7 Aug 2016 11:59:25 +0300 Subject: [PATCH] Disabled the type maps for va_list and std::list in the C# generator. Signed-off-by: Dimitar Dobrev --- src/Generator/Types/Std/Stdlib.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Generator/Types/Std/Stdlib.cs b/src/Generator/Types/Std/Stdlib.cs index efdaa2f5..fb660e7b 100644 --- a/src/Generator/Types/Std/Stdlib.cs +++ b/src/Generator/Types/Std/Stdlib.cs @@ -8,7 +8,7 @@ using CppSharp.Generators.CSharp; namespace CppSharp.Types.Std { - [TypeMap("va_list")] + [TypeMap("va_list", GeneratorKind = GeneratorKind.CLI)] public class VaList : TypeMap { public override string CLISignature(CLITypePrinterContext ctx) @@ -346,7 +346,7 @@ namespace CppSharp.Types.Std } } - [TypeMap("std::list")] + [TypeMap("std::list", GeneratorKind = GeneratorKind.CLI)] public class List : TypeMap { public override bool IsIgnored { get { return true; } }