]> granicus.if.org Git - nethack/commitdiff
fix naming
authorAdam Powers <apowers@ato.ms>
Sun, 30 Aug 2020 17:46:55 +0000 (10:46 -0700)
committerAdam Powers <apowers@ato.ms>
Sun, 30 Aug 2020 17:46:55 +0000 (10:46 -0700)
sys/lib/test/test.js

index 146b56d8a0dd422ed6cb09fab4225d6a85697b6e..d7d8f01448f0b7d61ea42dd568d24477755b2234 100644 (file)
@@ -19,7 +19,7 @@ function setGraphicsCallback() {
 
     console.log("doing call");
     Module.ccall(
-        "stub_graphics_set_callback", // C function name
+        "shim_graphics_set_callback", // C function name
         null, // return type
         ["number"], // arg types
         [cb], // arg values
@@ -153,7 +153,7 @@ function doGraphics(name, ... args) {
 //     }
 //     // console.log("Module", util.inspect(Module, {depth: null, showHidden: true}));
 //     // TODO:
-//     // stub_graphics_set_callback();
+//     // shim_graphics_set_callback();
 
 //     // options:
 //     // https://emscripten.org/docs/api_reference/module.html