fix naming
This commit is contained in:
@@ -19,7 +19,7 @@ function setGraphicsCallback() {
|
|||||||
|
|
||||||
console.log("doing call");
|
console.log("doing call");
|
||||||
Module.ccall(
|
Module.ccall(
|
||||||
"stub_graphics_set_callback", // C function name
|
"shim_graphics_set_callback", // C function name
|
||||||
null, // return type
|
null, // return type
|
||||||
["number"], // arg types
|
["number"], // arg types
|
||||||
[cb], // arg values
|
[cb], // arg values
|
||||||
@@ -153,7 +153,7 @@ function doGraphics(name, ... args) {
|
|||||||
// }
|
// }
|
||||||
// // console.log("Module", util.inspect(Module, {depth: null, showHidden: true}));
|
// // console.log("Module", util.inspect(Module, {depth: null, showHidden: true}));
|
||||||
// // TODO:
|
// // TODO:
|
||||||
// // stub_graphics_set_callback();
|
// // shim_graphics_set_callback();
|
||||||
|
|
||||||
// // options:
|
// // options:
|
||||||
// // https://emscripten.org/docs/api_reference/module.html
|
// // https://emscripten.org/docs/api_reference/module.html
|
||||||
|
|||||||
Reference in New Issue
Block a user