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.
23 lines
599 B
23 lines
599 B
using System.Collections.Generic; |
|
using CppSharp.AST; |
|
|
|
namespace CppSharp.Generators.Cpp |
|
{ |
|
/// <summary> |
|
/// Generates Node N-API C/C++ header files. |
|
/// N-API documentation: https://nodejs.org/api/n-api.html |
|
/// </summary> |
|
public class NAPIHeaders : CppHeaders |
|
{ |
|
public NAPIHeaders(BindingContext context, IEnumerable<TranslationUnit> units) |
|
: base(context, units) |
|
{ |
|
CTypePrinter.PushContext(TypePrinterContextKind.Managed); |
|
} |
|
|
|
public override void Process() |
|
{ |
|
base.Process(); |
|
} |
|
} |
|
}
|
|
|