diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-04-19 17:05:31 +0200 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-04-20 11:57:28 +0200 |
commit | e6ddfdf040f88d19e5ec9b4d10b8cccd79155ad1 (patch) | |
tree | 56756042fea63acd5beddbf599603f37a035aa48 /static | |
parent | 1bf2d3fa8ed016eaf71d8b3acc3fc779ee32e223 (diff) |
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 <stephan.bergmann@allotropia.de>
Diffstat (limited to 'static')
-rw-r--r-- | static/source/unoembindhelpers/PrimaryBindings.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<bool>("uno_InOutParam_boolean"); + registerInOutParam<sal_Bool>("uno_InOutParam_boolean"); registerInOutParam<sal_Int8>("uno_InOutParam_byte"); registerInOutParam<sal_Int16>("uno_InOutParam_short"); registerInOutParam<sal_uInt16>("uno_InOutParam_unsigned_short"); @@ -396,7 +396,7 @@ EMSCRIPTEN_BINDINGS(PrimaryBindings) registerInOutParam<sal_uInt64>("uno_InOutParam_unsigned_hyper"); registerInOutParam<float>("uno_InOutParam_float"); registerInOutParam<double>("uno_InOutParam_double"); - registerInOutParam<char16_t>("uno_InOutParam_char"); + registerInOutParam<sal_Unicode>("uno_InOutParam_char"); function("getCurrentModelFromViewSh", &getCurrentModelFromViewSh); function("getUnoComponentContext", &comphelper::getProcessComponentContext); |