[binder] Rename language marshalers to new convention.

This commit is contained in:
Joao Matos 2017-11-07 14:50:51 +00:00
Родитель ef0c700385
Коммит dcf8a8ac76
3 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -5,9 +5,9 @@ using CppSharp.Generators;
namespace Embeddinator.Generators
{
public class CMarshalPrinter : Marshaler
public class CMarshaler : Marshaler
{
public CMarshalPrinter(BindingContext context)
public CMarshaler(BindingContext context)
: base(context)
{
}
@ -37,7 +37,7 @@ namespace Embeddinator.Generators
}
}
public class CMarshalManagedToNative : CMarshalPrinter
public class CMarshalManagedToNative : CMarshaler
{
public bool UnboxPrimitiveValues { get; set; }
@ -223,7 +223,7 @@ namespace Embeddinator.Generators
}
}
public class CMarshalNativeToManaged : CMarshalPrinter
public class CMarshalNativeToManaged : CMarshaler
{
public bool PrimitiveValuesByValue { get; set; }

Просмотреть файл

@ -3,7 +3,7 @@ using CppSharp.Generators;
namespace Embeddinator.Generators
{
public class JavaMarshalPrinter : CMarshalPrinter
public class JavaMarshalPrinter : CMarshaler
{
public JavaTypePrinter TypePrinter;

Просмотреть файл

@ -3,18 +3,18 @@ using CppSharp.Generators;
namespace Embeddinator.Generators
{
public class SwiftMarshalPrinter : CMarshalPrinter
public class SwiftMarshaler : CMarshaler
{
public SwiftTypePrinter TypePrinter;
public SwiftMarshalPrinter(BindingContext context)
public SwiftMarshaler(BindingContext context)
: base(context)
{
TypePrinter = new SwiftTypePrinter(Context);
}
}
public class SwiftMarshalManagedToNative : SwiftMarshalPrinter
public class SwiftMarshalManagedToNative : SwiftMarshaler
{
public SwiftMarshalManagedToNative(BindingContext context)
: base(context)
@ -115,7 +115,7 @@ namespace Embeddinator.Generators
}
}
public class SwiftMarshalNativeToManaged : SwiftMarshalPrinter
public class SwiftMarshalNativeToManaged : SwiftMarshaler
{
public SwiftMarshalNativeToManaged(BindingContext context)
: base(context)