MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / start

Function start

pdflinux.js:66–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66function start() {
67 update_framebuffer(320, 200, new Uint8Array(320*200*4), 0, 200);
68 let cfg_file = typeof embedded_files["vm_32.cfg"] === "undefined" ? "vm_64.cfg" : "vm_32.cfg";
69 var args = [`file:///${cfg_file}`, 128, "", null, 0, 0, 1, ""];
70 Module.ccall("vm_start", null, ["string", "number", "string", "string", "number", "number", "number", "string"], args);
71}
72
73function round_float(num, s) {
74 let multiplier = Math.pow(10, s);

Callers

nothing calls this directly

Calls 1

update_framebufferFunction · 0.85

Tested by

no test coverage detected