float-pigment-css 0.9.0 → 0.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/float_pigment_css.d.ts
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
* Serialize CSS to the binary format.
|
|
5
5
|
*/
|
|
6
6
|
export function compileStyleSheetToBincode(filename: string, style_text: string): Uint8Array;
|
|
7
|
+
export function wasm_main(): void;
|
|
7
8
|
/**
|
|
8
9
|
* Deserialize bincode from the binary format.
|
|
9
10
|
*/
|
|
10
11
|
export function styleSheetFromBincode(bincode: Uint8Array): StyleSheetGroup;
|
|
11
|
-
export function wasm_main(): void;
|
|
12
12
|
/**
|
|
13
13
|
* A group of ordered style sheets.
|
|
14
14
|
*/
|
package/float_pigment_css.js
CHANGED
|
@@ -188,6 +188,10 @@ module.exports.compileStyleSheetToBincode = function(filename, style_text) {
|
|
|
188
188
|
return v3;
|
|
189
189
|
};
|
|
190
190
|
|
|
191
|
+
module.exports.wasm_main = function() {
|
|
192
|
+
wasm.wasm_main();
|
|
193
|
+
};
|
|
194
|
+
|
|
191
195
|
function passArray8ToWasm0(arg, malloc) {
|
|
192
196
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
193
197
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -206,10 +210,6 @@ module.exports.styleSheetFromBincode = function(bincode) {
|
|
|
206
210
|
return StyleSheetGroup.__wrap(ret);
|
|
207
211
|
};
|
|
208
212
|
|
|
209
|
-
module.exports.wasm_main = function() {
|
|
210
|
-
wasm.wasm_main();
|
|
211
|
-
};
|
|
212
|
-
|
|
213
213
|
function getArrayJsValueFromWasm0(ptr, len) {
|
|
214
214
|
ptr = ptr >>> 0;
|
|
215
215
|
const mem = getDataViewMemory0();
|
|
Binary file
|