Skip to content

Commit 889313e

Browse files
committed
fix format
1 parent 5a85dc3 commit 889313e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ci/type/gen-canvas-h.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ const path = require('path')
22
const Generator = require('./gen-simple.cjs')
33

44
const generator = new Generator({
5-
prefix: (_name) => '#ifndef CANVAS_H\n#define CANVAS_H\n\n' +
6-
'#include <cstddef>\n\nextern "C" {\n\n',
5+
prefix: (_name) =>
6+
'#ifndef CANVAS_H\n#define CANVAS_H\n\n' + '#include <cstddef>\n\nextern "C" {\n\n',
77
procParams: (params) => [['canvas', 'const void *'], ...params],
88
toParameter: (_param, type) => `${convertToCType(type)}`,
99
toDeclaration: (method, params) => `extern void canvas_${method}(${params});`,

0 commit comments

Comments
 (0)