@@ -13,7 +13,7 @@ var LibraryIDBStore = {
13
13
$IDBStore :
14
14
#include IDBStore . js
15
15
,
16
-
16
+ emscripten_idb_async_load__sig : 'vppppp' ,
17
17
emscripten_idb_async_load : function ( db , id , arg , onload , onerror ) {
18
18
IDBStore . getFile ( UTF8ToString ( db ) , UTF8ToString ( id ) , function ( error , byteArray ) {
19
19
if ( error ) {
@@ -26,6 +26,7 @@ var LibraryIDBStore = {
26
26
_free ( buffer ) ;
27
27
} ) ;
28
28
} ,
29
+ emscripten_idb_async_store__sig : 'vpppippp' ,
29
30
emscripten_idb_async_store : function ( db , id , ptr , num , arg , onstore , onerror ) {
30
31
// note that we copy the data here, as these are async operatins - changes to HEAPU8 meanwhile should not affect us!
31
32
IDBStore . setFile ( UTF8ToString ( db ) , UTF8ToString ( id ) , new Uint8Array ( HEAPU8 . subarray ( ptr , ptr + num ) ) , function ( error ) {
@@ -36,6 +37,7 @@ var LibraryIDBStore = {
36
37
if ( onstore ) { { { makeDynCall ( 'vi' , 'onstore' ) } } } ( arg ) ;
37
38
} ) ;
38
39
} ,
40
+ emscripten_idb_async_delete__sig : 'vppppp' ,
39
41
emscripten_idb_async_delete : function ( db , id , arg , ondelete , onerror ) {
40
42
IDBStore . deleteFile ( UTF8ToString ( db ) , UTF8ToString ( id ) , function ( error ) {
41
43
if ( error ) {
@@ -45,6 +47,7 @@ var LibraryIDBStore = {
45
47
if ( ondelete ) { { { makeDynCall ( 'vi' , 'ondelete' ) } } } ( arg ) ;
46
48
} ) ;
47
49
} ,
50
+ emscripten_idb_async_exists__sig : 'vppppp' ,
48
51
emscripten_idb_async_exists : function ( db , id , arg , oncheck , onerror ) {
49
52
IDBStore . existsFile ( UTF8ToString ( db ) , UTF8ToString ( id ) , function ( error , exists ) {
50
53
if ( error ) {
0 commit comments