Skip to content

Commit 2dc668a

Browse files
committed
closure changes
1 parent df35875 commit 2dc668a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/api.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
/* global
2-
ALLOC_NORMAL
32
FS
43
HEAP8
54
Module
65
_malloc
76
_free
8-
addFunction
9-
allocate
10-
allocateUTF8OnStack
117
getValue
128
intArrayFromString
13-
removeFunction
149
setValue
1510
stackAlloc
1611
stackRestore
@@ -22,6 +17,12 @@
2217

2318
"use strict";
2419

20+
/** @external @const @global */ var addFunction;
21+
/** @external @const @global */ var allocate;
22+
/** @external @const @global */ var ALLOC_NORMAL;
23+
/** @external @const @global */ var allocateUTF8OnStack;
24+
/** @external @const @global */ var removeFunction;
25+
2526
/**
2627
* @typedef {{Database:Database, Statement:Statement}} SqlJs
2728
* @property {Database} Database A class that represents an SQLite database
@@ -877,7 +878,9 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
877878
}} Database.QueryExecResult
878879
* @property {Array<string>} columns the name of the columns of the result
879880
* (as returned by {@link Statement.getColumnNames})
880-
* @property {Array<Array<Database.SqlValue>>} values one array per row, containing
881+
* @property {
882+
* Array<Array<Database.SqlValue>>
883+
* } values one array per row, containing
881884
* the column values
882885
*/
883886

0 commit comments

Comments
 (0)