mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
616 B
21 lines
616 B
using CppSharp.Generators.C; |
|
|
|
namespace CppSharp.Generators.Emscripten |
|
{ |
|
public class EmscriptenMarshalNativeToManagedPrinter : MarshalPrinter<MarshalContext, CppTypePrinter> |
|
{ |
|
public EmscriptenMarshalNativeToManagedPrinter(MarshalContext marshalContext) |
|
: base(marshalContext) |
|
{ |
|
} |
|
} |
|
|
|
public class EmscriptenMarshalManagedToNativePrinter : MarshalPrinter<MarshalContext, CppTypePrinter> |
|
{ |
|
public EmscriptenMarshalManagedToNativePrinter(MarshalContext ctx) |
|
: base(ctx) |
|
{ |
|
Context.MarshalToNative = this; |
|
} |
|
} |
|
}
|
|
|