From 3d4623d014b4b6f839b474b63f227c045c9f5e49 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Fri, 10 Feb 2017 14:27:54 +0000 Subject: [PATCH] Bump to latest C++#. --- binder/Generators/Java/JavaSources.cs | 5 ++++- external/CppSharp | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/binder/Generators/Java/JavaSources.cs b/binder/Generators/Java/JavaSources.cs index f74517c..9874c29 100644 --- a/binder/Generators/Java/JavaSources.cs +++ b/binder/Generators/Java/JavaSources.cs @@ -2,14 +2,17 @@ using System.Collections.Generic; using CppSharp; using CppSharp.AST; using CppSharp.Generators; +using CppSharp.Generators.CSharp; namespace MonoEmbeddinator4000.Generators { public class JavaSources : CppSharp.Generators.CSharp.CSharpSources { public JavaSources(BindingContext context, TranslationUnit unit) - : base(context, new List { unit }, null, null) + : base(context, new List { unit }) { + TypePrinter = new CSharpTypePrinter(context); + ExpressionPrinter = new CSharpExpressionPrinter(TypePrinter); } public override string FileExtension => "java"; diff --git a/external/CppSharp b/external/CppSharp index 2595e24..f68dc31 160000 --- a/external/CppSharp +++ b/external/CppSharp @@ -1 +1 @@ -Subproject commit 2595e2426ea341b34da80396f083588203e76d2f +Subproject commit f68dc310f05416ae271b1a0a26323789a9aca0cc