From e6ddfdf040f88d19e5ec9b4d10b8cccd79155ad1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 19 Apr 2024 17:05:31 +0200 Subject: Embind: Test and Fix out-param handling (the types that are meant to be passed directly by pointer will need more thought, to make them actually work) Change-Id: Ia0f2e6f5335fad1140629477e89fc96121c2927e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166318 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- static/source/unoembindhelpers/PrimaryBindings.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static') diff --git a/static/source/unoembindhelpers/PrimaryBindings.cxx b/static/source/unoembindhelpers/PrimaryBindings.cxx index 862cbb1101e2..6ae2e68323dc 100644 --- a/static/source/unoembindhelpers/PrimaryBindings.cxx +++ b/static/source/unoembindhelpers/PrimaryBindings.cxx @@ -386,7 +386,7 @@ EMSCRIPTEN_BINDINGS(PrimaryBindings) }; }); - registerInOutParam("uno_InOutParam_boolean"); + registerInOutParam("uno_InOutParam_boolean"); registerInOutParam("uno_InOutParam_byte"); registerInOutParam("uno_InOutParam_short"); registerInOutParam("uno_InOutParam_unsigned_short"); @@ -396,7 +396,7 @@ EMSCRIPTEN_BINDINGS(PrimaryBindings) registerInOutParam("uno_InOutParam_unsigned_hyper"); registerInOutParam("uno_InOutParam_float"); registerInOutParam("uno_InOutParam_double"); - registerInOutParam("uno_InOutParam_char"); + registerInOutParam("uno_InOutParam_char"); function("getCurrentModelFromViewSh", &getCurrentModelFromViewSh); function("getUnoComponentContext", &comphelper::getProcessComponentContext); -- cgit