File tree Expand file tree Collapse file tree 3 files changed +0
-13
lines changed Expand file tree Collapse file tree 3 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ export function generateFunctionDecl({
88 return `${ returnType } (*${ name } )(${ argumentTypes . join ( ", " ) } );` ;
99}
1010
11- /**
12- * Generates source code for a version script for the given Node API version.
13- */
1411export function generateHeader ( functions : FunctionDecl [ ] ) {
1512 return `
1613 #pragma once
Original file line number Diff line number Diff line change 11import type { FunctionDecl } from "../../src/node-api-functions.js" ;
22import { generateFunction } from "./shared.js" ;
33
4- /**
5- * Generates source code for a version script for the given Node API version.
6- */
74export function generateHeader ( ) {
85 return `
96 #pragma once
@@ -36,9 +33,6 @@ function generateFunctionImpl(fn: FunctionDecl) {
3633 } ) ;
3734}
3835
39- /**
40- * Generates source code for a version script for the given Node API version.
41- */
4236export function generateSource ( functions : FunctionDecl [ ] ) {
4337 return `
4438 #include "weak_node_api.hpp"
Original file line number Diff line number Diff line change @@ -49,10 +49,6 @@ const clangAstDump = z.object({
4949 ) ,
5050} ) ;
5151
52- /**
53- * Generates source code for a version script for the given Node API version.
54- * @param version
55- */
5652export function getNodeApiHeaderAST ( version : NodeApiVersion ) {
5753 const output = cp . execFileSync (
5854 "clang" ,
You can’t perform that action at this time.
0 commit comments