+24
-24
lines changedFilter options
+24
-24
lines changed Original file line number Diff line number Diff line change
@@ -6,26 +6,6 @@ export function __wbg_set_wasm(val) {
6
6
}
7
7
8
8
9
-
const heap = new Array(128).fill(undefined);
10
-
11
-
heap.push(undefined, null, true, false);
12
-
13
-
function getObject(idx) { return heap[idx]; }
14
-
15
-
let heap_next = heap.length;
16
-
17
-
function dropObject(idx) {
18
-
if (idx < 132) return;
19
-
heap[idx] = heap_next;
20
-
heap_next = idx;
21
-
}
22
-
23
-
function takeObject(idx) {
24
-
const ret = getObject(idx);
25
-
dropObject(idx);
26
-
return ret;
27
-
}
28
-
29
9
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
30
10
31
11
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
@@ -45,6 +25,26 @@ function getStringFromWasm0(ptr, len) {
45
25
ptr = ptr >>> 0;
46
26
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
47
27
}
28
+
29
+
const heap = new Array(128).fill(undefined);
30
+
31
+
heap.push(undefined, null, true, false);
32
+
33
+
function getObject(idx) { return heap[idx]; }
34
+
35
+
let heap_next = heap.length;
36
+
37
+
function dropObject(idx) {
38
+
if (idx < 132) return;
39
+
heap[idx] = heap_next;
40
+
heap_next = idx;
41
+
}
42
+
43
+
function takeObject(idx) {
44
+
const ret = getObject(idx);
45
+
dropObject(idx);
46
+
return ret;
47
+
}
48
48
/**
49
49
* @param {number} test
50
50
* @returns {number}
@@ -109,11 +109,11 @@ export function __wbg_test2_39fe629b9aa739cf() {
109
109
return addHeapObject(ret);
110
110
};
111
111
112
-
export function __wbindgen_object_drop_ref(arg0) {
113
-
takeObject(arg0);
114
-
};
115
-
116
112
export function __wbindgen_throw(arg0, arg1) {
117
113
throw new Error(getStringFromWasm0(arg0, arg1));
118
114
};
119
115
116
+
export function __wbindgen_object_drop_ref(arg0) {
117
+
takeObject(arg0);
118
+
};
119
+
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4