Skip to content

Commit bd952a6

Browse files
committed
Remove incorrect comments
1 parent b0fa9ea commit bd952a6

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

packages/weak-node-api/scripts/generators/NodeApiHost.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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-
*/
1411
export function generateHeader(functions: FunctionDecl[]) {
1512
return `
1613
#pragma once

packages/weak-node-api/scripts/generators/weak-node-api.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import type { FunctionDecl } from "../../src/node-api-functions.js";
22
import { generateFunction } from "./shared.js";
33

4-
/**
5-
* Generates source code for a version script for the given Node API version.
6-
*/
74
export 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-
*/
4236
export function generateSource(functions: FunctionDecl[]) {
4337
return `
4438
#include "weak_node_api.hpp"

packages/weak-node-api/src/node-api-functions.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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-
*/
5652
export function getNodeApiHeaderAST(version: NodeApiVersion) {
5753
const output = cp.execFileSync(
5854
"clang",

0 commit comments

Comments
 (0)