From 49316cab2717e60e633b0b131fb18af9ce01c1a2 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Thu, 14 Nov 2024 15:23:32 +0100 Subject: [PATCH] Fix missing parameter for getHumdrum in emscripten proxy --- emscripten/npm/src/emscripten-proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emscripten/npm/src/emscripten-proxy.js b/emscripten/npm/src/emscripten-proxy.js index 35a5c864271..fccda766174 100644 --- a/emscripten/npm/src/emscripten-proxy.js +++ b/emscripten/npm/src/emscripten-proxy.js @@ -43,7 +43,7 @@ function getToolkitFunction(VerovioModule, method) { mapping.getExpansionIdsForElement = VerovioModule.cwrap("vrvToolkit_getExpansionIdsForElement", "string", ["number", "string"]); // char *getHumdrum(Toolkit *ic) - mapping.getHumdrum = VerovioModule.cwrap("vrvToolkit_getHumdrum", "string"); + mapping.getHumdrum = VerovioModule.cwrap("vrvToolkit_getHumdrum", "string", ["number"]); // char *convertMEIToHumdrum(Toolkit *ic, const char *meiData) mapping.convertMEIToHumdrum = VerovioModule.cwrap("vrvToolkit_convertMEIToHumdrum", "string", ["number", "string"]);